select name from master..sysdatabases
Get resultsdets in to a cusror and loop through this query...
exec 'if object_id(''' + @db_name + '..' + @tablename + ''') is not null Print '''table exists''''
Cheers,
Prakash
Prakash Heda
Lead DBA Team - www.sqlfeatures.com
Video sessions on Performance Tuning and SQL 2012 HA