Thank this author by sharing:
By Bruce Szabo, 2013/05/23
glnp scripts on database
Generate scripts for all databases
Can't script remote database using script method
script
Script to generate script to detach or attach user databases
As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.
Join us!
Steve Jones Editor, SQLServerCentral.com