Backup schema in SQL Server 2005

1123955 pts.
Tags:
Backup
Schema
SQL Server 2005
Would there be a way to backup just the schema in a SQL Server 2005 database? I don't need records, just the structure. Thank you!
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Try this:

1.     Generate a script from the working database

2.     Create a new database from that script

3.     Create a backup of the new database

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • carlosdl
    You can right click on the database or individual tables (Management Studio) and select the option to generate a script, which by default doesn't include the data.
    84,580 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: