Problem: how to automate a Generate Scripts in SQL2008 Management Studio:
ie right click on database, Tasks, Generate Scripts
All Tables All Stored Procs
Create drop statements Don't use USE statement Generate data
This is a 20sec process to do by hand.. needs automating :-) I don't really want to code it in C# in SQL Server Management Objects (SMO).
Maybe I'll have to use AutoHotKey :-)