Just to make it clear, my query is this
-> I want to run this query on a database instance. This should run for all the user databases on the instance all at once.
-> By any chance, do any of you have this kind of script.
Good thing is, this script is useful for sql server 2005 also.
M&M