How to Generate Script of Database in SQL Server
05.25.2011
right click database >task> Generate scripts> Wizard> Choose what you want to script
right click database >task> Generate scripts> Wizard> Choose what you want to script