extract schema for sql server compact edition
Asked Answered
C

4

7

Is there a way to generate the sql statement for tables in sql server compact ? same as for sql server express+ ?

Essentially a create table( .... ) statement as output ?

Cotenant answered 2/7, 2009 at 3:41 Comment(0)
H
5

There is a project on Codeplex that someone has actually built the functionality to be able to do scripting for sql server compact edition databases.

Harebrained answered 31/8, 2009 at 13:37 Comment(0)
H
1

There is a tool to do this. Check out http://www.antipodeansoftware.com/Home/Products This will iterate the entire SQL server, and write all the table, view, stored procedure and UDF scripts to a local drive. Great for adding SQL schema or DDL to source control.

Hach answered 29/8, 2010 at 6:54 Comment(0)
S
0

The plugin SQLite & SQL Server Compact Toolbox has versions for Visual Studio and SQL Server Management Studio. I've used the latter version successfully to add columns and export the schema as CREATE TABLE statements from SQL Server Compact Edition 3.5.

Stannwood answered 5/2, 2019 at 11:3 Comment(0)
S
-1

You can connect to SQL Server Compact Edition using SQL Server Management Studio(SSMS), which in turn allows you to script out all database objects.

Please refer to: Managing SQL Server Compact Edition with SQL Server Management Studio

and then also, How to: Generate a Script

Significs answered 2/7, 2009 at 8:26 Comment(1)
Script generation (and many other features) are hidden/disabled when you open a .sdf file (SQL Server CE) in SSMS.Mishmash

© 2022 - 2024 — McMap. All rights reserved.