Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use SQL Server to query CosmosDB

Is there a way to query CosmosDB from SQL Server 2016 SSMS? I'm currently querying CosmosDB using the DocumentDB ODBC driver via SSIS. Users are now asking for the ability to query CosmosDB directly from SSMS through some sort of view.

like image 885
sqlfit Avatar asked Jan 29 '23 11:01

sqlfit


1 Answers

Yes there is, you can use Linked Servers. For more information, https://samtran.me/2017/10/07/linked-servers-for-azures-nosql-cosmosdb/

like image 165
Sam Tran Avatar answered Feb 19 '23 01:02

Sam Tran