August 28, 2025 at 12:49 pm
Is there any automated method to read SQLite database files
August 28, 2025 at 2:16 pm
tools like DBBeaver, DB Browser for SQL Lite and Database Browser portable, all can open a SQLLite db and give you a decent GUI interface to fiddle with it.
I created a Linked server long ago, but it required a dotnet library to be installed to get the odbc driver in place.
i remember i had to create a server dsn, and then could create the linked server with that dsn as the source.
https://www.ch-werner.de/sqliteodbc/
EXEC sp_addlinkedserver
@server = N'SQLITE_LINKED',
@srvproduct = N'SQLite',
@provider = N'MSDASQL',
@datasrc = N'MySQLiteDB'; -- the DSN name you created
EXEC sp_addlinkedsrvlogin
@rmtsrvname = N'SQLITE_LINKED',
@useself = N'False',
@locallogin = NULL,
@rmtuser = N'',
@rmtpassword = N'';
and the code is pretty simple:
Lowell
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply