![]() |
VOOZH | about |
Using SQL Server as a backup for critical business data provides an essential safety net against loss. Backing up data to SQL Server enables business users to more easily connect that data with features like reporting, analytics, and more.
This example demonstrates how to use the CData SSIS Tasks for JSON inside of a SQL Server SSIS workflow to transfer JSON services into a Microsoft SQL Server database.
To get started, add a new JSON source and SQL Server ADO.NET destination to a new data flow task.
๐ The Data Flow task used in this example. (Salesforce is shown.)Follow the steps below to save JSON connection properties in a 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.
๐ Configuring a connection (Salesforce is shown).Follow the steps below to specify the query to be used to extract JSON services.
SELECT [people].[personal.age] AS age, [people].[personal.gender] AS gender, [people].[personal.name.first] AS first_name, [people].[personal.name.last] AS last_name, [vehicles].[model], FROM [people] JOIN [vehicles] ON [people].[_id] = [vehicles].[people_id]๐ The SQL query to retrieve records. (Salesforce is shown.)
Follow the steps below to specify the SQL server table to load the JSON services into.
You can now run the project. After the SSIS Task has finished executing, your database will be populated with JSON services.
๐ The completed import. (Salesforce is shown.)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!