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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.

Top Solution Authors