Hi, guys - looking for a bit of help/advice on moving a database from
SQL 7 to SQL 2000.
We've a third party application which currently uses a SQL7 database.
This database has a number of views which are owned by user
INFORMATION_SCHEMA and are set as system tables. This user doesn't
actually have a login on the SQL server.
We've tried the following to recreate the database on SQL2000, but
whatever we try, the views owned by INFORMATION_SCHEMA won't copy over
from SQL7:
(1) We tried the "Copy Database" wizard in SQL2000, but were getting
errors when trying to actually copy the database (other steps worked
fine).
(2) We tried a restore to SQL2000 from our Legato Networker backup of
the SQL7 database, but the views didn't come across.
(3) We tried a backup from SQL7 and restore to SQL2000, but got the
message that the backup file contained a database other than the one
we wanted (it didn't - we checked the backup file several times by
restoring it to another SQL7 server).
(4) We tried to import/export data from SQL7 to SQL2000, but the views
owned by INFORMATION_SCHEMA weren't showing to add to the list of
objects to take across.
(5) We created the INFORMATION_SCHEMA login on SQL2000, and tried all
restores again, but still the views wouldn't go across.
(6) We generated the SQL for all views in SQL7 and ran these on
SQL2000, setting the owner to INFORMATION_SCHEMA, but wasn't sure
where to set the type to "system" (as opposed to "user).
We're having problems running the third party application with a
connection to SQL2000, and want to rule out the lack of views, or view
ownership, as the problem. Our third party vendor isn't coming up
with any solution in a hurry. Can anyone think of any reason why the
views are coming across when the database is restored to SQL2000?
Thanks for your help.