0

I am looking for a way to support a existing SQL Server CE Database file (*.sdf) on a sqlite3. Can someone help me to find a way to Convert a SQL Server CE database file (.sdf) to a sqlite3 supported database file? Does sqlite3 library provide any utility to do so ?

1 Answer 1

1

You could export to a CSV file, then import that into SQLite. However, CSV files cannot represent all data types.

The tool at http://exportsqlce.codeplex.com/ allows to export a database as an SQL script, which can then be executed directly in SQLite to recreate it there.

Sign up to request clarification or add additional context in comments.

3 Comments

See my blog post here about issues relating to exporting to sqlite: erikej.blogspot.dk/2012/08/…
ErikEJ : Is it possible to avoid sql script conversion to move the sdf file to sqlite DB file ?
@PKHUN: SQL Server CE and SQLite speak slightly different SQL dialects; you have to use some tool that understands both.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.