What my workself would love is to easily dump Pandas or Polar data frames to SQL Tables in SQL Server as fast as possible. I see this bcp, but I don't see an example of uploading a large panda dataframe to SQL Server.
Microsoft Python Driver for SQL Server
21–30 of 35 posts
Re: Microsoft Python Driver for SQL Server
#22What my workself would love is to easily dump Pandas or Polar data frames to SQL Tables in SQL Server as fast as possible. I see this bcp, but I don't see an example of uploading a large panda dataframe to SQL Server.
https://learn.microsoft.com/en-us/sql/t-sql/statements/bulk-...
> Beginning with SQL Server 2017 (14.x), the data_file can be in Azure Blob Storage.
You don't need to have access to the MSSQL box to invoke high performance batch loads. UNC should give you what you need if your IT department is willing to work with it.
Re: Microsoft Python Driver for SQL Server
#23Very cool. Used to be a huge pain to connect to sqlserver from Python (especially non Windows platforms).
I have very limited Python experience but I remember using pymssql in the past. Are there any problems with it?
In the later years it became rather good though and with Python 3 many of the issues with character encoding went away.
Re: Microsoft Python Driver for SQL Server
#24Re: Microsoft Python Driver for SQL Server
#25If MSSQL really wanted to become more mainstream they'd release a properly free version to compete with MySQL/MariaDB and PostgreSQL. I've not used MSSQL since 2015/2016 and haven't missed much. Now I live in the OLAP space so I think of it far, far less.
Money here means this won’t happen. Sure, greenfield does not use MSSQL but there is a ton of companies stuck with MSSQL that will continue to have to fork over big licensing money.
Re: Microsoft Python Driver for SQL Server
#26Very cool. Used to be a huge pain to connect to sqlserver from Python (especially non Windows platforms).
I have very limited Python experience but I remember using pymssql in the past. Are there any problems with it?
Re: Microsoft Python Driver for SQL Server
#27Is this generated by LLM? Comments are straight out of generic LLM slop.
Re: Microsoft Python Driver for SQL Server
#28Re: Microsoft Python Driver for SQL Server
#29Earlier quoted context omitted.
Money here means this won’t happen. Sure, greenfield does not use MSSQL but there is a ton of companies stuck with MSSQL that will continue to have to fork over big licensing money.
Which will mean it’ll stay irrelevant still.