My this blog post is about downgrading a database of SQL 2005 to SQL 2000. This can be done by the option available in MS SQL 2005.
- Just right-click over the desired SQL 2005 database, select Tasks -> Generate Scripts.
- Select the objects needed to be scripted. But make sure you set the option of Script of SQL Version to SQL Server 2000. (see image below)
- Run the generated Script against the SQL 2000 database.
- Ideally this will be all you need but if it gives the error “Invalid object name ‘sys.objects’.” you will need some workaround done manually.
- You have to replace object and column names of SQL 2005 database to downgrade the database to SQL 2000.
- Replace sys.objects into sysobjects and
- Replace object_id into id
- Now run the script again and that should be all.
Hope that helps.