Hi @Saratha30_M ,
Do you want to export data from SQL to Excel by using powerapps?
Is the limit of Excel 2000 records?
If so, that should be caused by delegation problem.
However, the functions about updating are all not delegateable in powerapps.
So I suggest you an alternative way:
Import data from SQL to CDS. Then you could export data of CDS. The exported file is a compressed folder with csv file.
In this solution, you will not have the limit of 2000 records.
The steps should be like:
1)In CDS, choose get data:

2)choose Azure SQL

Import data.
3)After you have imported data to CDS successfully, export data.
Choose export data.

Choose the entity that you want to export and then click "export“.
After you've exported successfully, click "download....".
Then the download file is a compressed folder with csv file like this:

This is a excel file with the data of your SQL.
You could modify it to the format that you want and then upload it to one drive.
Best regards,