Hi @vamsi krishna ,
Welcome to Microsoft Q&A platform and posting your query.
As I understand your issue here is that you are trying to load data from Excel to Azure SQL database but because of having empty headers in the source dataset, it's throwing an error. To mitigate the same ,you have tried defining range and it worked well with the approach but the requirement here is to take the range dynamically. Please let me know if my understanding is incorrect.
As a workaround , please follow the below steps:
1. Use dataset pointing to excel and import schema keep 'First row as header' option as unchecked so that the header would be treated as a row.
2. Use Filter transformation to filter out the row having header value. For instance, Use expression : Column_2!='Name'
3. Use Sink transformation with Azure sql dataset to load the data to SQL tables . Disable auto mapping and manually map the columns with desired column names in sink
If the above answer helped, please do consider clicking Accept Answer
and Up-Vote
for the same as accepted answers help community as well. If you have any further query do let us know.
Also, please do consider retaking the satisfaction survey . Appreciate for taking out your time and effort for the same in advance. Thankyou !