I need to script all the objects etc in a database in 2005 - however the database is version 7. it is not listed under the 'tasks-script' option when you right click on the database - as it is a previous version. Is there a simple way to script the objects in the database without restoring on a sql server 7 instance?
YOu can use the SQL2000 compatibility mode to script out, SQL version 7 still matches with that setting.
i changed the db to 2005 compatibilty mode by restoring a abackup on 2005 instance - and then scripted it out. do you foresee any problems with that?
I dont think so any issues with this approach. As long as you can execute the script on required SQL instnance it should be ok.