Solved

Export an entire database schema SQL 2000 SP4

Posted on 2006-11-27
4
1,690 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

763 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