Top "Pyodbc" questions

pyodbc is a module that allows you to use Python to make a database connection using ODBC

return column names from pyodbc execute() statement

from pandas import DataFrame import pyodbc cnxn = pyodbc.connect(databasez) cursor.execute("""SELECT ID, NAME AS Nickname, ADDRESS AS Residence …

python pandas pyodbc
Python pip unable to locate pyodbc

Using virtualenv and just trying to install pyodbc. All resources I can find claim this should be extremely straightforward. After …

python pip pyodbc
sql.h not found when installing PyODBC on Heroku

I'm trying to install PyODBC on Heroku, but I get fatal error: sql.h: No such file or directory in …

python heroku pyodbc
Using Sql Server with Django in production

Has anybody got recent experience with deploying a Django application with an SQL Server database back end? Our workplace is …

python sql-server django pyodbc
how to catch specific pyodbc error message

I trid the following code, import pyodbc try: pyodbc.connect('DRIVER={%s};SERVER=%s;DATABASE=%s;UID=%s;PWD=%s' % (…

python odbc pyodbc
Error 28000: Login failed for user DOMAIN\\user with pyodbc

I am trying to use Python to connect to a SQL database by using Window authentication. I looked at some …

python sql-server pyodbc
basic pyodbc bulk insert

In a python script, I need to run a query on one datasource and insert each row from that query …

python sql-server pyodbc
python pandas to_sql with sqlalchemy : how to speed up exporting to MS SQL?

I have a dataframe with ca 155,000 rows and 12 columns. If I export it to csv with dataframe.to_csv , the …

python sql pandas sqlalchemy pyodbc
SqlAlchemy equivalent of pyodbc connect string using FreeTDS

The following works: import pyodbc pyodbc.connect('DRIVER={FreeTDS};Server=my.db.server;Database=mydb;UID=myuser;PWD=mypwd;TDS_…

python sql-server sqlalchemy pyodbc freetds
python pyodbc : how to connect to a specific instance

Am trying to connect to a specific instance of SQL Server and get some data from system tables. Am connecting …

python sql pyodbc