This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
Can you please assist with some advice or guidiance on how to connect my flask application, to our mssql server/database.
Could be a Youtube videos, or any online study material.
I have successfuly build my application and is working fine with sqlite, but my company uses MSSQL Server which is were I need to connect it to, I do have solid background on executing SQL statements, (T-SQL), but my request right is anyone with usefull guideline or information/walk through on how I connect the flask app to our inhouse db, would appreciate that.
Thank you
Solved! Go to Solution.
Hi @Sekelo77,
Thank you for reaching out to Microsoft Fabric Community.
Based on your requirement, since the application is already working with sqlite, you only need to update the database connection. The recommended approach is to use SqlAlchemy with the pyodbc driver, which works correctly with sql server in production environments. Please follow below steps:
You can also execute raw T-Sql queries if needed using SqlAlchemy.
Thanks and regards,
Anjan Kumar Chippa
Hi @Sekelo77,
Thank you for reaching out to Microsoft Fabric Community.
Based on your requirement, since the application is already working with sqlite, you only need to update the database connection. The recommended approach is to use SqlAlchemy with the pyodbc driver, which works correctly with sql server in production environments. Please follow below steps:
You can also execute raw T-Sql queries if needed using SqlAlchemy.
Thanks and regards,
Anjan Kumar Chippa
Thank You.
Check out the June 2026 Fabric update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.