Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
spartan27244
Resolver I
Resolver I

Read/Write Data to/from Azure SQL database(s)

We have been in azure for quite some time and we have quite a number of Azure SQL databases. We are looking to start processing our incoming data in Fabric and have the results pushed to our SQL database(s). We also want to replace some of our long running stored procedures with PySpark processing which will require reading in data and posting the results back to the SQL databases. The thing I cannot figure out is how to connect to the database(s). I created a connection in the settings-> Connections and Gateways but apparently you can only use these in a pipeline. I have also tried a JDBC connection in PySpark, but cannot get that to work. So how do I get this to work?

1 ACCEPTED SOLUTION
v-sathmakuri
Community Support
Community Support

Hi @spartan27244 ,

 

Thank you for reaching out to Microsoft Fabric Community.

 

A similar issue has already been discussed in the Fabric Community Forum. Please try the suggested solution in the following thread and let us know if it resolves your issue:

https://community.fabric.microsoft.com/t5/Data-Engineering/Error-connecting-to-SQL-Database-using-Fa... 

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thank you!!

View solution in original post

1 REPLY 1
v-sathmakuri
Community Support
Community Support

Hi @spartan27244 ,

 

Thank you for reaching out to Microsoft Fabric Community.

 

A similar issue has already been discussed in the Fabric Community Forum. Please try the suggested solution in the following thread and let us know if it resolves your issue:

https://community.fabric.microsoft.com/t5/Data-Engineering/Error-connecting-to-SQL-Database-using-Fa... 

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thank you!!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.