ODBC passthrough to sqlite file database fails with the altair personal slc but works with python
For full version of the post see github
github
https://github.com/rogerjdeangelis/utl-odbc-passthrough-to-sqlite-file-database-fails-with-the-altair-personal-slc
Sqlite3 does not require a userid or password.
Sqlite3 is a file-based database.
CONTENTS (see github SQLite odbc connections)
1 libname odbc works perfectly (to and from sqlite)
libname mydb odbc noprompt="Driver=SQLite3 ODBC Driver;Database=d:\sqlite\new.db;";
2 Connection successful but pass thru fails
connect to odbc(complete="DRIVER=SQLite3 ODBC Driver;Database=D:\sqlite\mydatabase.sqlite;");
42
43 proc sql;
44 connect to odbc(complete=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
44 ! XXXXXXX);
NOTE: Connected to DB: (SQLite version 3.43.2)
NOTE: Connected to DB: (SQLite version 3.43.2)
NOTE: Successfully connected to database ODBC as alias ODBC.
95 create table tst as (
96 select * from connection to odbc
97 (select * from rand)
98 );
NOTE: ERRORSTOP was specified. The statement will not be executed due to an earlier error
99 disconnect from odbc;
NOTE: ERRORSTOP was specified. The statement will not be executed due to an earlier error
NOTE: Statements not executed because of errors detected
3 Python Pass through to file database works