How do you open an SDF file (SQL Server Compact Edition)?

Download and install LINQPad, it works for SQL Server, MySQL, SQLite and also SDF (SQL CE 4.0).

Steps for open SDF Files:

  1. Click Add Connection
  2. Select Build data context automatically and Default (LINQ to SQL), then Next.
  3. Under Provider choose SQL CE 4.0.
  4. Under Database with Attach database file selected, choose Browse to select your .sdf file.
  5. Click OK.

Leave a Comment