If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Yes, by using SMO. You can also restore your sql2k5 db onto sql2k8r2, change db compatibility to 100, and in Options specify "Script for server version = SQL Server 2005".
__________________
"The data in a record depends on the Key to the record, the Whole Key, and
nothing but the Key, so help me Codd."