2

is it possible to download in a file all the table definition(create Statements) and Stored

Procedures from a SQL Server 2008 database?

Thanks

1 Answer 1

4

yes, right click on the database-->tasks-->generate scripts

This will bring up the scripting wizard, pick the objects you want and specify output

See also: How To Script Out The Whole Database In SQL Server 2005 and SQL Server 2008

1
  • great you saved me hours of boring copy and paste
    – GigaPr
    May 5, 2010 at 21:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.