williamkremer
Programmer
- Oct 27, 2005
- 61
I'm running a trace on a server to monitor which databases on the server are being used currently. In my trace columns I have DatabaseName and DatabaseID. Wouldn't you know, the databasename column remains empty throughout but databaseID column is populated by numbers (8, 2, 15, etc) When I run select object_id ('anydatabase') it returns NULL for each database. Is there a way to translate those databaseID's in the trace into which database it is using? Thanks --
"You cannot hold a torch to another man's path without brightening your own"
Best regards,
Bill
"You cannot hold a torch to another man's path without brightening your own"
Best regards,
Bill