I'm restoring a SQL 2000 user database on a sql 2008 r2 box, but sometimes I receive the following error. This is also at the SQL Log.
Error: 928, Severity: 20, State: 1
During upgrade, database raised exception 156, severity 25, state 1, address 0000000001C05A9F. Use the exception number to determine the cause
It has occured during upgrade phase, after restore percent hit 100%.
If I retry with the same script, sometimes I get the same error, but if I wait a little the script completes successfully. I've run DBCC CHECKDB on the source and no error has been returned.
Compatibility level of the database is 80 (sql 2000) and version is 539.
While running Upgrade Advisor on the problematic database of the time I see 27 objects with the old outer join sintax *=, =*
Unfortunattly I won't be able to change the procs to check if this is the culprit. One other possibility is that there are a lot of procs that doesn't have BEGIN and END delimiting its extensions, and if I create them in a batch this confuses SQL.