How do we create the scripts of a database(create database , Drop to as in SSMS) using a query? Sp_helptext works for stored procs but not for database.
I need to create sql file after generating the scripts..
Mark this as answer, if it is.....
With regards
Nishithraj Narayanan