Solved

Export an entire database schema SQL 2000 SP4

Posted on 2006-11-27
4
1,676 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
4 Comments
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 125 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 125 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

832 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