How can I manage SQL CE databases in SQL Server Management Studio?

后端 未结 3 1932
悲&欢浪女
悲&欢浪女 2020-12-03 13:55

I created a SDF (SQL CE) database with Visual Studio 2008 (Add / New Item / Local Database).

Is it possible to edit this database with SQL Server Management Studio?

相关标签:
3条回答
  • 2020-12-03 13:59

    You can create .sdf files with SQL Server 2008 Management Studio.

    In the File > Connect Object Explorer dialog, change the Server Type dropdown to SQL Server Compact Edition.

    Then in the Database File dropdown choose New Database.... and you're ready to go.

    0 讨论(0)
  • 2020-12-03 14:00
    • Management Studio 2005 supports SQL CE 3.0.
    • Management Studio 2005 SP2 supports up to SQL CE 3.1.
    • Management Studio 2008 supports up to SQL CE 3.5 SP1

    I think Management Studio Express 2008 does not support SQL CE databases.

    0 讨论(0)
  • 2020-12-03 14:12

    Were you using Management Studio 2005, or 2008? It should work in 2008 if you create a SQL CE 3.5 database ... just not in 2005.

    0 讨论(0)
提交回复
热议问题