9,625 questions
-3
votes
0
answers
127
views
No rows are inserted into the table [closed]
Consider following:
qry2 = L"INSERT INTO abcattbl SELECT ?, ?, (SELECT object_id FROM sys.objects o, sys.schemas s WHERE s.schema_id = o.schema_id AND o.name = ? AND s.name = ?), ?, 8, 400, \'N\'...
2
votes
1
answer
881
views
pyodbc INSERT FROM CSV stopped working in Access - "Operation not supported for this type of object"
I recently (as of November 2025) had some working SQL via pyODBC to import an existing CSV file to a table in an Access database.
cursor.execute(f"""
INSERT INTO [{table_name}] ([Date], ...
0
votes
0
answers
42
views
How to preserve cursor for ODBC under Informix after SQLEndTran
I use unixODBC to perform database actions on an Informix database. The situation is as follows: I have a result set from which I read records using SQLFetch. In between, autocommit must be disabled. ...
1
vote
0
answers
89
views
php odbc connection to databricks returns junk bytes
I'm using the SimbaSparkODBC driver provided by DataBricks on Windows to connect to a DataBricks instance which is running in Azure.
Most of the sqls are running fine, but sometimes the result ...
Advice
0
votes
0
replies
38
views
MS Access -7711 Error MySQL Connector Cannot Make ODBC Link to Tables (Solution Found In Malwarebytes Settings)
This is not actually a question: I simply stumbled upon a solution. In setting up a new (Win11) computer I was having trouble making my usual connection between MS Access on my machine and a MySQL ...
0
votes
0
answers
110
views
Function sequence error with 2 statement handles
I tried the following (error handling omitted for clarity):
query1 = "SELECT a,b,c FROM foo;";
query2 = "INSERT INTO bar VALUES( ?, ?, ? );";
SQLAllocHandle( SQL_HANDLE_STMT, ...
1
vote
0
answers
91
views
How can I connect to HFSQL C/S using python on Linux?
I am trying to connect to a legacy HFSQL (HyperFileSQL) Client/Server database using Python (pyodbc) on a Linux Ubuntu machine.
I have followed the official documentation to install the specific ODBC ...
3
votes
1
answer
88
views
CodeIgniter 3 odbc affected rows
Running PHP 8. I have just upgraded CodeIgniter from 3.0.4 to 3.1.13.
Before the upgrade, the affected_rows() worked fine and gave me the correct quantity.
Now it just gives me a TypeError.
This is a ...
4
votes
3
answers
163
views
Connecting to Excel from PHP using PDO
I am connecting to an Excel file from PHP via PDO. When executing a query, Excel returns data, but it defines the first row of results as column names. How do I make Excel return all rows, including ...
Advice
0
votes
1
replies
75
views
SAS Snowflake ODBC authentication using Key pair
We are planning to switch from password-based authentication to key-pair authentication for SAS to Snowflake connection. Our current requirement is:
1. Overnight batch/service account: use key-pair ...
0
votes
0
answers
75
views
Power BI DirectQuery to Redshift: ODBC error with pg_catalog.date_add(...) does not exist
I'm using Power BI Desktop with Amazon Redshift in DirectQuery mode. Data loads initially (sometimes at least / sometimes it has errors), but when I scroll down in a visual (e.g., table), I eventually ...
2
votes
0
answers
138
views
C++/Qt: QODBC always ignores first row
I am doing an app for a client and he wants to read data from .xlsx, .csv and .xls.
For CSV files, I have already created a data parser, and for XLSX files, I had used QXlsx.
With large files (>1M ...
0
votes
0
answers
41
views
Informix ODBC: fetch user-defined OPAQUE column as internal binary (SQL_C_BINARY) without server-side casts
I am trying to fetch a user-defined opaque column (opaque_col) via the ODBC driver using SQL_C_BINARY to access the internal binary format:
const char* query = "SELECT opaque_col FROM opaque_test&...
0
votes
1
answer
94
views
Reading SQL_NUMERIC_STRUCT via ODBC from SQL Server loses decimal places
In SQL Server I have defined a table with column:
test_scale (numeric(10,2), null)
and inserted a row with value -123456.78.
In ODBC code from C:
SQLExecDirect(hstmt, (SQLCHAR*)"SELECT TOP 1 ...
2
votes
1
answer
60
views
Error with MS Excel power Query ODBC Context
I have a parameter coming in from the excel table that is formulated as date time.
7/28/2025 12:00:00 AM name BeginDate
I am trying to filter the source data which has a field called TransDate before ...
0
votes
0
answers
72
views
MacOS launchctl setenv DYLD_LIBRARY_PATH
Platform MacOs Sequoia 15.5.
My objective is to enable an application to find a dynamic library.
My plan is to use launchctl to set the environment variable DYLD_LIBRARY_PATH and then lanch the ...
1
vote
0
answers
136
views
Configure MariaDB DSN using Add-OdbcDsn in PowerShell
I'm trying to configure a MariaDB ODBC DSN automatically in PowerShell
my code so far is this:
$DriverName = (Get-OdbcDriver -Name "MariaDB*" | Where-Object Platform -eq "64-bit")....
0
votes
0
answers
27
views
VB.NET 3.5 OdbcDataAdapter.Fill causes OverflowException after moving from Windows 10 x86 to Windows 11 x64
I’m maintaining a legacy VB.NET 3.5 Windows Forms app that worked perfectly on Windows 10 32-bit using MySQL ODBC Connector 5.1/5.3.
Recently, we migrated to a Windows 11 64-bit machine. Without ...
2
votes
2
answers
172
views
Trying to bind a string column for table valued parameter using ODBC
Like said in the title i am trying to bind a string column for a table valued parameter using ODBC.
So far i created a table like that:
CREATE TABLE [dbo].[TVPItem]
(
ItemNo INT IDENTITY(1,1) ...
0
votes
0
answers
30
views
How to connect to a Oracle@Azure via VM using ODBC linked service, using Azure Synapse Notebook?
We have an ODBC linked service on Azure Synapse which connects to a VM which in turn connects to an Oracle@Azure Database. The linked service has been tested successfully on Azure Synapse.
We need to ...
0
votes
0
answers
88
views
Indicator pointer is required by the driver to indicate NULL output data, but is not provided
While importing Snowflake view to SQL Server using SSIS package, it's throwing this error:
Error: SQLSTATE: 22002, Message: [Snowflake][ODBC] (10450) Indicator pointer is required by the driver to ...
0
votes
0
answers
49
views
IM002 - [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
In Self Hosted Integration runtime, In Linked service when i'm trying to connect to ODBC driver, I get this following error.
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found ...
0
votes
0
answers
110
views
ODBC:ERROR [HY000] [AmazonAthena][S3ClientError]
I have Athena ODBC driver 2.x version installed on windows server and Test Connectivity is successful then later i was trying to execute a sample query just trying to list top 10 rows. I am getting ...
0
votes
0
answers
40
views
Configuring connection from MS Access to SQL Server 2017 with persistent database credentials [duplicate]
I have an MS Access database on a client computer providing a front-end to a database in SQL Server 2017 on another computer (using tcp:...,1433). I have set up a login/user in the database to be used ...
0
votes
0
answers
63
views
odbc_connect(): SQL error: [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed, SQL state IM004 in SQLConnect
I have an AWS Lambda based on brefphp to connect to a snowflake data warehouse.
For this I use :
runtime: php-84
${bref-extra:odbc-snowflake-php-84}
I get this error, when calling obdc_connect:
&...
1
vote
0
answers
74
views
How to use Crystal Reports with Spring Boot & PostgreSQL
I am using Crystal Reports 2025, 64-bit and have downloaded the PostgreSQL ODBC driver from the following link: https://odbc.postgresql.org/. I created a .rpt file, and although I can see the database ...
1
vote
0
answers
65
views
Pull in all the tables in Snowflake at once into R
I am pulling data from Snowflake via R, and have been pulling tables via ODBC connection with the dbGetQuery function from the DBI package in R. Is there a way that I can read in all of the tables ...
0
votes
0
answers
17
views
CCS 5.1 - mysql connect works and grid builder shows table but not fields
I am using code charge studio 5.1 and just trying to create a new project. I am using odbc connection to mysql. On a new project if try to use the grid builder and use the connection1 I setup it ...
0
votes
1
answer
33
views
DolphinDB ODBC Connection Concurrency Issue
Multiple data synchronization tasks (synchronizing data from ClickHouse to DolphinDB) were submitted via submitJob. Each task function independently creates an ODBC connection. Observations show:
...
0
votes
0
answers
130
views
php segmentation fault when connecting to Access database
I have Ubuntu 24.04 and php 8.3. I'm trying to connect to an Access DB through PDO ODBC running on the command line. Here is what I have enabled:
$ php -i | grep PDO
PDO
PDO support => enabled
PDO ...
0
votes
1
answer
66
views
SQLAlchemy Operation Error that goes away after refreshing
I'm using SQLalchemy in Flask. When I run the server (through Docker) and let the server be inactive for some time, I get the following error after making a request on the page.
OperationalError
...
1
vote
0
answers
174
views
SQL Anywhere 17 ODBC connection
I have a *.db file that came from SQL Anywhere 17, I need to create an ODBC connection to later connect to Power BI, but the Bank does not start at all.
I searched Google, ChatGPT, reinstalled SQL ...
0
votes
0
answers
50
views
Oracle DB Connection to Excel
Oracle DB connection to Excel via ODBC is possible
e.g. Developer can create Excel. Get Data. from Database. Oracle. It asks for Server, SQL statement. and this ODBC works well.
however, Consumer ...
2
votes
1
answer
219
views
Connect to Power BI endpoint via R
I do connect to a Power BI endpoint via python via the following connection string but I am unable to get it properly working in R via DBI & odbc packages: could someone give me a hand please? Did ...
0
votes
0
answers
278
views
Delphi's FireDAC database driver reports "Unsupported MySQL version" -- how do you connect to an up-to-date database?
I have a Delphi 12 application that needs to connect to a MariaDB 11.4 LTS server. The built-in FireDAC database access component supports MariaDB servers between 5.5 and 10.6. This seems unusual, ...
0
votes
0
answers
74
views
sqlalchemy.exc.ProgrammingError: Invalid object name 'users' while querying SQL Server with pyodbc
I am running migration scripts via Alembic, and they are executing successfully. All the tables, including the users table, are created in the SQL Server database without issues. However, when I try ...
0
votes
0
answers
64
views
Japanese Character set via ODBC to Access and Excel
I've hit an issue with UTF-8 characters and having had a trawl around here and the web I can find similar issues but everything I have tried doesn't work. For the record I'm self-taught so feel free ...
0
votes
2
answers
98
views
Load Excel Online data into Microsoft SQL Server
I am trying to load Microsoft forms data into my organization's SQL Server. Currently, the form is saving its data into an Excel online file that I can access via Sharepoint online.
How do I actually ...
1
vote
1
answer
73
views
ODBC select * skips SQL Server columns (mismatch sp_columns vs. information_schema.columns)
The situation: Oracle 12.1 (linux) connects to SQL Server (Win) using dg4odbc and MS-SQLServer ODBC driver for linux. Reading from SQL Server via select * from schema.table@dblink works, basically.
...
0
votes
0
answers
60
views
SSIS connecting to BigQuery view through Simba driver
I have downloaded the Simba ODBC connector from the BigQuery page (https://cloud.google.com/bigquery/providers/simba-drivers/). The Simba version is 2.5 and the server side is 2.04
When I create a ...
2
votes
2
answers
77
views
Excel VBA ODBC reading field changes it to Null
Summary;
The first time I read a data field, I get 0, every time after, the same record field reads Null. This changes if I debug, step through and watch the values in the locals/watchlist, I get Null ...
0
votes
0
answers
24
views
I am getting some extra empty rows while loading any table in Tableau Desktop
While loading any table into tableau desktop, it shows some extra empty rows other than actual rows. I am using custom ODBC connector.
Live mode is working fine, I am facing this issue in Extract mode ...
1
vote
0
answers
112
views
sqlite3.OperationalError: unknown function: CONCAT_WS() when querying a virtual column with SQLiteODBC
I'm facing an issue with sqlite3.OperationalError: unknown function: CONCAT_WS() in my Python 3.12 application. I'm using the sqlite3 module to connect to an SQLite database via an ODBC driver (http://...
1
vote
0
answers
59
views
Does Snowflake ODBC Driver Support fast_executemany - Issue with varchar(max) columns
Scenario:
I am trying to create a simple Python script that utilizes pyodbc and works with various datasources say sqlserver, azuresql, snowflake etc. Basically any source that supports ODBC ...
0
votes
1
answer
102
views
Authenticating into Azure from Python
I am trying to connect from Python to Azure SQL Server to create a table.
My code:
def create_and_store_dataframe_to_azure(df, table_name, server, database, password, driver="ODBC Driver 18 for ...
0
votes
2
answers
109
views
ERROR [HYC00] [Apache Arrow][Flight SQL] (100) Unsupported function for parameterised query to Dremio via ODBC
I am using the ODBC diver via .NET 4.8 to connect to Dremio but getting this error:
System.Data.Odbc.OdbcException
HResult=0x80131937
Message=ERROR [HYC00] [Apache Arrow][Flight SQL] (100) ...
0
votes
1
answer
236
views
SSIS ODBC Google BigQuery (Simba) works in local but return ODBC-1 error when I launch pakcage from SQL Agent
I have configured an ODBC connection on my post to connect with Google BigQuery. I couldn't do it natively so I download Simba Drive that helps me to connect with Google BigQuery. I have created a ...
0
votes
1
answer
57
views
SAP Sybase ASE ODBC driver: specify a user for connection and a different user for database (on Windows)
Sybase SQL syntax for accessing tables is <user>.<table>. I am using the ASE ODBC driver to connect Excel to an old on-premise installation of Sybase, which requires a logon username to ...
0
votes
0
answers
77
views
Can I create tables and insert data using Power BI?
I'm connected to a SQL Server via ODBC in Power BI. I'd like to take a spreadsheet and essentially copy/paste the spreadsheet columns and data into the SQL Server database via Power BI.
The write back ...
0
votes
0
answers
21
views
Connecting to Netezza from PyODBC causes Segmentation Fault after encryption was enabled
We have application based on Python 3.12 in which we connect to Netezza and SQL Server using pyodbc package with Kerberos authentication from RHEL8 Python 3.12 container.
Connection was working as ...