Uses sp_ob by Saket Mittal to search all databases for objects of a like name.
Examples:
To search for a table named 'customer' : exec master..usp_SearchObjectsAllDBs @searchname = 'customer', @type = 'U'
To search for a procedure named 'customer' : exec master..usp_SearchObjectsAllDBs @searchname = 'customer', @type = 'P'
2007-10-02 (first published: 2002-06-20)
15,451 reads