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
Solved

Export an entire database schema SQL 2000 SP4

Posted on 2006-11-27
4
1,682 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

789 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