I need to find a way to determine which object in the database contains the original database name hardcoded in it. I restored a copy of the database under a different name and ran the homegrown scripts to complete all the naming settings. Say the original database was named ABC_Db, and the restored copy was renamed XYZ_Db. When I try to perform an UPDATE on CoreTable, I get
Invalid object name 'ABC_Db.dbo.CoreTable'
I requested from syscomments and checked various manual checks against relations and indexes, etc. no luck. What's next?
Thank,
John
source
share