How to Read SQLite Database Files?

  • Is there any automated method to read SQLite database files

  • 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


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply