Category "pyodbc"

Can't connect to SQL Server DB from Pyodbc

I am having a difficult time trying to connect to a SQL Server DB on Linux, using pyodbc. I have a ODCINI file entry created. I started with this: import pyo

Tkinter to Connect to MS Access Database

I'm trying to make a GUI using tkinter to select the MS Access Database. I get an error: "General error Unable to open registry key Temporary (volatile) Ace DSN

Connect to Azure SQL in Python with MFA Active Directory Interactive Authentication without using Microsoft.IdentityModel.Clients.ActiveDirectory dll

To connect to Azure SQL Database using MFA (which is in SSMS as "Active Directory - Universal") Microsoft recommends and currently only has a tutorial on connec

How do I read SQL stored procedure data through pyodbc and get results into a dataframe?

I have a stored proc in SQL Server called test.storedproc My py script is as follows import pyodbc import pandas as pd conn = pyodbc.connect('Driver={SQL Server

How do I extract integer values from PHD using pyodbc?

I am trying to connect to a Honeywell PHD server using Python 3.x and extract data. I am connecting with this syntax: import pyodbc import pandas as pd import n

PYODBC--Data source name not found and no default driver specified

import pyodbc connection = pyodbc.connect('Driver = {SQL Server};Server=SIWSQL43A\SIMSSPROD43A;' 'Database=CSM_reporting;Trusted_Con

Pass LDFLAGS and CPPFLAGS to Poetry when adding packages

Edit: My workaround ended up being to add the whl file that was built outside Poetry to the repository, and adding the pyodbc as a file to Poetry. I am trying t

Can I put arbitrary text in SQL comments when using ODBC?

Consider a table defined by CREATE TABLE Example (id INTEGER) and an INSERT statement for adding tuples to Example, having a single quote in a SQL comment:

[Driver Manager]Can't open lib '/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.9.so.1.1'

When I run $ python manage.py inspectdb --database=mssql_database I have the following error django.db.utils.Error: ('01000', "[01000] [unixODBC][Driver Manager

'pyodbc.Cursor' object has no attribute 'fast_executemany'

I have a problem, I have a web app that is using fast_executemany in order to insert into the database. When running it on localhost it works with no problem, b

pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near

I'm using python 3.9 to insert a list of multiple news from google rss news to SQL table with parameter using pyobc but always getting programming error below:

"Optional feature not implemented (106) (SQLBindParameter)" error with pyodbc

I'm being driven nuts trying to figure this one out. I'm using Python for the first time, and trying to write data collected from twitter out to an Access 2010

Issues with SQL Server and PYODBC

I'm getting an error at this statement: cursor.execute("SELECT * FROM dbo.User") Error: pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][ODBC Driv

pyodbc legacy-install-failure in ubuntu python 3.9

I am not being able to install pyodbc Sorry for the image, but it is on a private network and it does not allow me to do a copy-paste I saw solutions like thi

Pyspark connection to the Microsoft SQL server?

I have a huge dataset in SQL server, I want to Connect the SQL server with python, then use pyspark to run the query. I've seen the JDBC driver but I don't fin

SAP ASE Extension Python Module: @stmt_query_timeout?

I am trying to move from a Windows-based pyodbc (Using the SAP Adaptive Server Enterprise 16.0 driver) to Red Hat Linux 7.9-based sybpydb solution. Current pyod

Installing pyodbc kaggle

Going crazy here, just try to use pyodbc within kaggle. But getting error all the time Internet is obviously switched on.. Error thanks for your help