sqlazureexport

Export data from Azure SQL Server stored procedure or table to Excel using Azure Resources


I am having few data which gets returned from my stored procedure or table from Azure SQL Server.

Client is having some formatted Excel and I need to export data from stored procedure to that formatted Excel.

The Excel has pre-defined columns with different name than the column in the database.

Is it possible by using any Azure resources like Azure Data Factory or Logic Apps to export data from SQL Server and append to the Excel?


Solution

  • Through Azure Data Factory -Data Flow Activity we can achieve this.

    Source here is SQL Database where column names are coming from Table:

    enter image description here

    Connect Sink(Target) and in the Mapping Tab uncheck Auto Mapping and Add Output column names as required at the target :

    enter image description here