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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a Build Database Script

Status
Not open for further replies.

DanAuber

IS-IT--Management
Apr 28, 2000
255
FR
Is there a quick way to get SQL server to take an existing database and create a script which could be used to rebuild the database (including or excluding data) ?

Dan Auber
 
From Enterprise Manager, right-click on the DB and choose All Tasks - Generate SQL Script...

--James
 
That's excellent - is there a way of doing it with data too ?

Dan Auber
 
If you want to rebuild the DB and all data then that's basically just a full backup.

--James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top