How to export data from SQL server to a storage container

MrFlinstone 476 Reputation points
2020-06-29T20:21:02.647+00:00

Hi All.

I will like the output of a SQL query to be stored in a storage container in Azure, was wondering what is the best/secure way of doing this in an automated fashion. This can be one output file for each day, the output is a json type.

Ideas welcome please.

Thanks in advance.

Azure SQL Database
{count} votes

2 answers

Sort by: Most helpful
  1. KalyanChanumolu-MSFT 8,316 Reputation points
    2020-06-30T12:33:58.457+00:00

    @MrFlinstone You can easily achieve this using a Logic App.

    Posting a screenshot from one of my projects.
    This runs at a specified schedule, copies over data from an Azure SQL database to a file on blob.

    10967-image.png

    Please try and let us know if you need any further help.

    --
    If an Answer is helpful, please “Accept Answer” or Up-Vote for the same which might be beneficial to other community members reading this thread.

    0 comments No comments

  2. Vaibhav Chaudhari 38,561 Reputation points
    2020-07-01T07:07:59.44+00:00

    You can also think of using Azure data factory. Create a pipeline, use Copy activity task and configure source Azure SQL and target Azure storage. Schedule this pipeline to run daily.

    Reference: tutorial-incremental-copy-portal

    ----------

    If the response helped, do "Accept Answer" and upvote it Vaibhav

    0 comments No comments