Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Export an entire database schema SQL 2000 SP4

Posted on 2006-11-27
4
Medium Priority
?
1,706 Views
Last Modified: 2008-01-09
All,
I need to create a copy of an existing database on the same server. Due to space limitations I only want to take the schema and then import certain tables. Is there a way to export / import the schema for a database, i.e. no rows required?
Thanks
0
Comment
Question by:Netstore
2 Comments
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 500 total points
ID: 18020337
Generate the script and run it on the new database
You can use IMPORT/EXPORT Wizard to copy the tables
0
 
LVL 20

Assisted Solution

by:Sirees
Sirees earned 500 total points
ID: 18020371
You can use the Import / Export Wizard to create a new database and all the
database objects (tables views, stored procedures) WITHOUT copying data, but
I believe it won't copy roles or users.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question