![]() |
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 Cosmos DB inside of a SQL Server SSIS workflow to transfer Cosmos DB data into a Microsoft SQL Server database.
To get started, add a new Cosmos DB 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 Cosmos DB connection properties in a connection manager.
To obtain the connection string needed to connect to a Cosmos DB account using the SQL API, log in to the Azure Portal, select Azure Cosmos DB, and select your account. In the Settings section, click Connection String and set the following values:
Follow the steps below to specify the query to be used to extract Cosmos DB data.
SELECT City, CompanyName FROM Customers๐ The SQL query to retrieve records. (Salesforce is shown.)
Follow the steps below to specify the SQL server table to load the Cosmos DB data into.
You can now run the project. After the SSIS Task has finished executing, your database will be populated with Cosmos DB data.
๐ The completed import. (Salesforce is shown.)Download a free trial of the Cosmos DB SSIS Component to get started:
Download NowLearn more:
๐ Cosmos DB IconPowerful SSIS Source & Destination Components that allows you to easily connect SQL Server with live Cosmos DB document databases through SSIS Workflows.
Use the Cosmos DB Data Flow Components to synchronize with Cosmos DB data. Perfect for data synchronization, local back-ups, workflow automation, and more!