Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a requirement where I need to get data from different database i.e. cosmos and sql.
How can I join both the table and get the data?

Below is the data that needs to be fetched. The common column in both is DossierGloabalId which can be use to join both databases tables.

Name--SQL
TaxableYear--SQL
Period--COSMOS
DossierType--SQL
VATType--COSMOS
LastUpdated--SQL

What I have tried:

I have no clue how to start. Please help me out
Posted
Updated 7-Apr-20 8:27am
Comments
Maciej Los 7-Apr-20 7:53am    
Start by reading the MSDN documentation...
[no name] 7-Apr-20 12:36pm    
Export to a common format.

1 solution

Create a database link in SQL Server
Connect to Cosmos DB Data as a Linked Server[^]
 
Share this answer
 
Comments
Maciej Los 7-Apr-20 15:49pm    
5ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900