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

Special holiday offer! You and a friend can attend FabCon with a BOGO code. Supplies are limited. Register now.

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
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.