Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How Convert SQL CE 3.5 database to SQLite

I started a project using SQL CE 3.5 in Visual Studio 10. But now I found out that the database is very slow. I did some testing on SQLite and thi is much faster.

Is there a way that I easily can convert de SQL CE 3.5 (sdf) database to SQLite?

like image 892
Marcel Avatar asked Mar 14 '11 20:03

Marcel


2 Answers

I have a tool to "dump" an entire SQL Compact file as SQL script, that you can then run against a SQLite db - http://exportsqlce.codeplex.com

like image 195
ErikEJ Avatar answered Oct 14 '22 06:10

ErikEJ


  1. Export CSV file(s) from SQL CE, import into SQLite, or
  2. Use ODBC to connect to both databases and move data from one to the other
like image 23
Doug Currie Avatar answered Oct 14 '22 06:10

Doug Currie