![]() |
VOOZH | about |
SQL Server databases are commonly used to store enterprise records. It is often necessary to move this data to other locations. The CData SSIS Task for JSON allows you to easily transfer JSON services. In this article you will export data from SQL Server to JSON.
To get started, add a new ADO.NET Source control and a new JSON Destination control to the data flow task.
π The source and destination components used in this example.Follow the steps below to specify properties required to connect to the SQL Server instance.
Follow the steps below to set required connection properties in the Connection Manager.
See the Getting Started chapter in the data provider documentation to authenticate to your data source: The data provider models JSON APIs as bidirectional database tables and JSON files as read-only views (local files, files stored on popular cloud services, and FTP servers). The major authentication schemes are supported, including HTTP Basic, Digest, NTLM, OAuth, and FTP. See the Getting Started chapter in the data provider documentation for authentication guides.
After setting the and providing any authentication values, set to more closely match the data representation to the structure of your data.
The property is the controlling property over how your data is represented into tables and toggles the following basic configurations.
See the Modeling JSON Data chapter for more information on configuring the relational representation. You will also find the sample data used in the following examples. The data includes entries for people, the cars they own, and various maintenance services performed on those cars.
In the destination component Connection Manager, define mappings from the SQL Server source table into the JSON destination table and the action you want to perform on the JSON services. In this article, you will insert people entities to JSON.
You can now run the project. After the SSIS Task has finished executing, data from your SQL table will be exported to the chosen table.
π The SQL Server table to export into JSON.Download a free trial of the JSON SSIS Component to get started:
Download NowLearn more:
π JSON IconPowerful SSIS Source & Destination Components that allow you to easily connect SQL Server with live JSON web services through SSIS Workflows.
Use the JSON Data Flow Components to synchronize with JSON services. Perfect for data synchronization, local back-ups, workflow automation, and more!