How to take back up of Database Schemas without Data
-
Friday, November 30, 2012 7:23 AMI need Backup of database Schemas, but i dont want data. Schamas means Structure of the Tables, Views, Stored Procedures and Triggers what not not everything without data.
- Edited by Vishnuvardhan Govardhana Friday, November 30, 2012 7:30 AM
- Changed Type Papy NormandModerator Friday, November 30, 2012 10:52 PM More a question than a general discussion
All Replies
-
Friday, November 30, 2012 8:08 AM
Hallo Vishnuvardhan,
script the database.
Right click on the database... -> [Tasks] -> [Script]
Select the database and mark "script all objects in the selected database
Get more details here:
http://msdn.microsoft.com/en-us/library/ms178078(v=sql.105).aspxUwe Ricken
MCITP Database Administrator 2005
MCITP Database Administrator 2008
MCITP Microsoft SQL Server 2008, Database Development
db Berater GmbH
http://www-db-berater.de
SQL Server Blog (german only)- Proposed As Answer by Papy NormandModerator Friday, November 30, 2012 10:53 PM
- Marked As Answer by Iric WenModerator Friday, December 07, 2012 8:32 AM
-
Friday, December 21, 2012 12:08 PM
i did the same as you said but the problem is that its going in 400k lines, is there any solution to get scripts?
Regards, Vishnuvardhan

