• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Maybe usefull query for ppl that renamed there database

Newbie Spellweaver
Joined
Nov 16, 2008
Messages
29
Reaction score
4
Because some ppl changed there database name its possible that some stored procedures are not working anymore.

To find out what procedure is still using the old database name you can use this small query

Code:
SELECT OBJECT_NAME(object_id), OBJECT_DEFINITION(object_id)
FROM sys.procedures
WHERE OBJECT_DEFINITION(object_id) LIKE '%SRO_VT_ACCOUNT%'

Where SRO_VT_ACCOUNT is your old databasename.


Maybe its usefull for some ppl here :)
 
Back
Top