Jump to content
xisto Community
Sign in to follow this  
ethergeek

Script Tables On Sql Server Compact

Recommended Posts

So I have an application that's using SQL Server Compact Edition 2005. I need to export the table schema to a file of SQL statements, containing only the schema...no data, no rows, just the tables, indexes, and constraints.Now, when using SQL 2000/2005 I just use the script table as... feature to do exactly this, but because SQL server Compact Edition doesn't have the support for it, I can't do this.The tables in SQL Server Compact *do* have the information_schema views though, so I was wondering if anyone knows of any tools that can read these views and generate sql ce code to build the tables?

Share this post


Link to post
Share on other sites
script to exctract tables with unique columns from MS SQL serverScript Tables On Sql Server Compact

I have a very large MS SQL 2005 server with so many different databases and tables I am looking for how I can  authomatically extract some tables that has some unique columns in them from the database Schemas without having to go through the schemas one by one and then go through the tables one by one to search for the one thathas the require columns.

I believe this can be achieved with a PHP script or Oracle PLSQl.

please help!

-reply by Irene

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.