Is there a way I can get a scripting of all tables, procs, and other objects from a database? I know there\'s an option to script the database but it only gave me some sort
I wrote a utility for this task, SMOscript.
Script generation is performed by the SMO library, and supports the new object types in SQL 2005 and 2008.