<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Connect Flask App to MSSQL database. in SQL database</title>
    <link>https://community.fabric.microsoft.com/t5/SQL-database/Connect-Flask-App-to-MSSQL-database/m-p/5138148#M646</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you please assist with some advice or guidiance on how to connect my flask application, to our mssql server/database.&lt;/P&gt;&lt;P&gt;Could be a Youtube videos, or any online study material.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2026 08:50:30 GMT</pubDate>
    <dc:creator>Sekelo77</dc:creator>
    <dc:date>2026-03-24T08:50:30Z</dc:date>
    <item>
      <title>Connect Flask App to MSSQL database.</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Connect-Flask-App-to-MSSQL-database/m-p/5138148#M646</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you please assist with some advice or guidiance on how to connect my flask application, to our mssql server/database.&lt;/P&gt;&lt;P&gt;Could be a Youtube videos, or any online study material.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 08:50:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Connect-Flask-App-to-MSSQL-database/m-p/5138148#M646</guid>
      <dc:creator>Sekelo77</dc:creator>
      <dc:date>2026-03-24T08:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Flask App to MSSQL database.</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Connect-Flask-App-to-MSSQL-database/m-p/5138264#M647</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="883320" data-lia-user-login="Sekelo77" class="lia-mention lia-mention-user"&gt;Sekelo77&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Install pyodbc and ensure the ODBC Driver for sql server is installed&lt;/LI&gt;
&lt;LI&gt;Update your connection string to use mssql+pyodbc&lt;/LI&gt;
&lt;LI&gt;Your existing models and queries can remain the same&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can also execute raw T-Sql queries if needed using SqlAlchemy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 13:00:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Connect-Flask-App-to-MSSQL-database/m-p/5138264#M647</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2026-03-24T13:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Flask App to MSSQL database.</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Connect-Flask-App-to-MSSQL-database/m-p/5138272#M648</link>
      <description>&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 13:12:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Connect-Flask-App-to-MSSQL-database/m-p/5138272#M648</guid>
      <dc:creator>Sekelo77</dc:creator>
      <dc:date>2026-03-24T13:12:57Z</dc:date>
    </item>
  </channel>
</rss>

