简体   繁体   中英

How can I make use of a .db file in SQL server 2008?

I have access to a .db file that I would like to query somehow to pull data from it for my other database. So far I have been unable to do this through an ODBC or SQL server directly. I would think that this is possible but I can't seem to find any ideas how.

.db files are standalone files, which means they don't need server to work, which also means you can't open it with SQL Server 2008.
More more info check THIS LINK

.db files are standalone files, so cannot be Opened through SSMS. Use SQLITE DB BROWSER to work on those files. Thanks :)

If this is a one time load, the easiest option would be using the SQL Server Import and Export wizard from SSMS. You'll need a Sqlite ODBC driver. The one here should work.

Another option is to create a linked server to SQLite database from SQL Server. See this article for instructions.

Here are a couple of StackOverflow posts on loading data from Sqlite to SQL Server which might be helpful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM