Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I extract the schema set?

Status
Not open for further replies.

earfling

Technical User
Nov 4, 2002
11
DE
Hi,

I have been asked to supply the schema set for another office so that they can use it to report on. I have been looking at ways to do this and have looked at using the DTS wizard but cannot see how to extract it without extracting table data. My knowledge of MSSQL 7 is very limited so I would appreciate any help regarding this.

Thanks
 
Don't know about 7.0, but in SQL Server 2000, in Enterprise Manager you can right click on the database, highlight "All Tasks" and select "Generate SQL Script". Then, go through the wizard and select what you do/don't want to script. This will write a script that can be run in Query Analyzer and it will create an exact copy of the database (or whatever you scripted) without the data.



Hope This Helps!

Ecobb
- I hate computers!
 
Thanks to Ecobb.

Saved my you know what with this one


Terry (cyberbiker)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top