cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Query endpoint on Azure sql or databricks?

Ruby8376
Valued Contributor

Hi 

Currently all data reauired resides in Az sql database. We have a project in which we need to query on demand this data in Salesforce data cloud to be further used for reporting in CRMA dashboard.

do we need to move this data from az sql to delta lake (databricks) and create query edpoint there then via streaming apis data it can be queried? Or can be done by keeping data in az sql?

3 REPLIES 3

Ruby8376
Valued Contributor

@-werners- @WernerS @Kaniz  please help

-werners-
Esteemed Contributor III

It depends.  If Salesforce Data Cloud has a connector for AZ SQL (being a native one or odbc/jdbc), you can query directly.  MS also has something like OData.  AFAIK AZ SQL does not have a query API, only for DB-management purposes.
If all above is not possible, you need either to move the data somewhere else, which Salesforce can query (can be anything that is supported by Salesforce, so could be databricks/delta lake if that is supported, but also something else), or expose the AZ Sql data by another tool which does not copy the data but makes it available, something like Presto/Trino and other data fabric tools.

If you decide to move the data to databricks, a serverless sql is probably the answer.  If you want to use an API, there is a query api which can be used to run queries on databricks.

Kaniz
Community Manager
Community Manager

Thank you for posting your question in our community! We are happy to assist you.

To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?

This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance! 
 

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.