Posted By

pollusb on 08/31/09


Versions (?)

Search object in all databases

 / Published in: SQL

Place you object name here must be replaced with your object name ;)

  1. exec master..sp_MSforeachdb 'if exists(select id from ?.dbo.sysobjects where name =''Place you object name here !'') print ''?'''

Report this snippet  

You need to login to post a comment.