create table #temp
(
dbname varchar(16),
username varchar(30)
)
insert into #temp
exec sp_MSforeachdb 'Select ''?'' as DB_Name, su.name from ?.dbo.sysusers su
join master.dbo.syslogins sl on sl.sid=su.sid
and sl.name=''Enter Login Name Here'''
select * from #temp
MJ