odbc Questions

4

Solved

I connected to to sqlsever2008 with odbc(with dsn) and php but problem is that when I retrieve information from that it has character like ���������. My datatype in sqlserver is nvarchar. Any idea ...
Namedropping asked 29/5, 2013 at 11:42

3

Solved

I have a table in SQL server to which I am trying to add data. Before adding the data I want to delete all the existing records, but I do not want to delete the table and recreate it since it has i...
Unrest asked 26/4, 2019 at 19:40

3

Solved

I connect to a DB2 server through ODBC connection in my python code. The DB2 server gets reboot for maintainence or disconnects me while running specific server side tasks, happens 1 or 2 times in ...
Moribund asked 6/6, 2019 at 8:45

3

I am using the trial version of QuickBooks Online ODBC (QODBC) driver and configured the DSN named QuickBooks Online Data as well as QuickBooks Online Data QRemote I have ensured the connection usi...
Violette asked 21/3, 2022 at 6:3

6

I have a new M1 pro macbook and I'm trying to install pyodbc and relevant drivers on my machine. So far I have installed unixodbc via homebrew and ODBC drivers according to the instructions found h...
Poland asked 14/2, 2022 at 23:31

1

Solved

I have searched a lot for the solution but still struggling with this problem. I'm trying to connect to a SQL Server instance running on 127.0.0.1:1433. However, I'm getting a sqlalchemy.exc.DBAPIE...
Metal asked 14/7, 2023 at 8:29

4

Solved

NOTE: I have narrowed this problem down to specifically PDO because I am able to successfully prepare and execute statements using the odbc_* functions. Why can't I bind this parameter to the PDO ...
Dagley asked 7/7, 2016 at 21:33

5

Solved

I created an Access front end for a SQL DB on my PC for use throughout my company. I am using a file ODBC connection and putting both the ODBC file and the Access file on a shared network drive. W...
Aphorism asked 23/4, 2014 at 19:40

2

I am trying to get ODBC Driver 17 for SQL Server to work but somehow it doesn't on my brand new apple M1. Apparently I got unixodbc installed and also the driver, but starting them doesn't work. Lo...
Feeble asked 31/1, 2021 at 15:18

1

I am using pyodbc to get some data from a MSQL Server. Works fine, except when retrieving a huge number of data: It is really slow. I have around 4000 rows, which is not a really big number. conn...
Huppert asked 19/11, 2015 at 20:15

7

Solved

I trid the following code, import pyodbc try: pyodbc.connect('DRIVER={%s};SERVER=%s;DATABASE=%s;UID=%s;PWD=%s' % (driver, server, database, uid, password)) except pyodbc.Error, err: logging.warn...
Zoophobia asked 9/7, 2012 at 9:52

3

Solved

I'm trying to orchestrate Snowflake from SSIS. I'm using an ODBC connection and the execute SQL Task. A truncate table statement works fine and the task completes successfully. Changing this to a ...
Drava asked 5/3, 2019 at 10:15

4

I'm trying to pull a list of tables from an access database. The script goes through and displays about a third of the tables and gets the following error: Traceback (most recent call last): Fil...
Crosswind asked 5/12, 2017 at 2:38

4

Solved

I am using 64-bit python anaconda v4.4 which runs python v3. I have MS Access 2016 32-bit version. I would like to use pyodbc to get python to talk to Access. Is it possible to use 64-bit pyodbc to...
Mariomariology asked 29/8, 2017 at 0:20

2

Solved

Does anyone know a way to connect to a SQL Server database from Python without installing a driver like ODBC? I need to do that on a customer server. I already established a connection from Python ...
Predestination asked 24/2, 2020 at 19:52

4

Solved

I'm attempting to read from an Access database using MDBTools drivers to execute an odbc_connect on Ubuntu 11.10. It's working fine when using the DSN setup in /etc/odbc.ini. Below are the content...
Roberts asked 10/4, 2012 at 13:54

2

Solved

What I'm trying to do Install Microsoft's ODBC driver into a Docker image using the following Dockerfile and the docker build command.: FROM public.ecr.aws/docker/library/python:3.9.10-slim-buster ...
Alanalana asked 9/3, 2022 at 18:50

3

Solved

I'm trying to install this mysql odbc connector on my macOS High Sierra machine, but I get this error: I tried installing it using installer in the hopes of getting information about what went wr...

3

I'm working to containerize a Django 1.5.x application that connects to a MySQL DB on a separate server via ODBC: [mysql_default] database = DB_NAME driver = /usr/lib64/libmyodbc5.so server = REMO...
Unbind asked 1/4, 2016 at 23:0

2

Solved

I am trying to connect to my database on MS SQL Server 2016 using pyodbc via the below python script from my laptop (on Windows 10) and planning to have the code deployed in a Linux RHEL 6.4 server...
Pax asked 28/6, 2020 at 15:57

3

I am currently having trouble writing a Dockerfile for my php application. My Dockerfile works but lacks the pdo-odbc driver I need to connect to an MS SQL Server database. Here is my current Docke...
Peptide asked 5/4, 2018 at 21:45

3

Solved

I am pretty new to VBA and am learning how to add connections to databases in excel. I currently have a macro that creates a query called "Query1" it then queries my database and returns the correc...
Fai asked 29/6, 2017 at 14:5

7

I'm trying to use PHP to connect to an ODBC data source using Windows authentication. I can connect just fine to the server in SQL Server so I know it's running. When I try to run the command $li...
Ish asked 17/8, 2015 at 21:29

2

I'm trying to analyze data stored in an SQL database (MS SQL server) in R, and on a mac. Typical queries might return a few GB of data, and the entire database is a few TB. So far, I've been using ...
Admissible asked 4/3, 2020 at 23:30

2

I have gone through every possible solution on the internet, but I'm unable to make pyobdc get the drivers on heroku. The steps I have used to create the app are as follows: heroku create heroku ...
Nordgren asked 12/12, 2019 at 14:2

© 2022 - 2025 — McMap. All rights reserved.