r/SQLServer • u/dlevy-msft Microsoft Employee • Nov 22 '25
Community Share Announcing General Availability of the Microsoft Python Driver for SQL (mssql-python)
Super excited to share that the Microsoft Python driver for SQL is Generally Available!
Read more about it here: aka.ms/mssql-python-ga
42
Upvotes
6
u/Black_Magic100 Nov 23 '25
Please add named parameter support ASAP. I believe it's being worked on and or is in the roadmap, but it's painful writing scripts without it.
5
u/blactuary Nov 23 '25
What is the case for using this over pyodbc?
3
u/Specific_Mirror_4808 Nov 22 '25
Apologies for the dumb question but is this a replacement for libraries like sqlalchemy?
I have a few Python tasks that ingest from MSSQL, run Python functions and then egest back to MSSQL.
3
u/gman1023 Nov 24 '25
Really excited about bulk copy support!
is this referring to ingest into mssql and export from mssql?
mssql-python/ROADMAP.md at main · microsoft/mssql-python
related, is this something that could do bulk copy from parquet into sql efficiently for large files?
2
u/pacodemu Nov 22 '25
Can this be used to write lambda functions for aws rds sql server?
2
u/gman1023 Nov 24 '25
How does this relate to adbc
Announcing Columnar - Columnar Blog
adbc-drivers/mssql: ADBC Driver for Microsoft SQL Server
when should we use that over this?
2
u/Warlock_22 Feb 14 '26
Sorry if I'd missed it but does this support windows authentication for sql server like pyodbc?
1
u/elephant_ua Feb 26 '26
i am reading documentation https://github.com/microsoft/mssql-python/wiki/Database-Transaction-Management, but i can't see how to set a transaction isolation level.
Is this not supoorted yet? Or i shouldn't do this from python and rather just send an sql command from cursor?
-13
u/No_Resolution_9252 Nov 22 '25
ugh, as if third party python drivers didn't already allow python boot campers to do enough damage in SQL Server
0
u/[deleted] Nov 23 '25
[deleted] — view deleted comment