select b.name as tablename,a.name as colname
from syscolumns a,sysobjects b 
where a.name = 'colname' and a.id = b.id and b.xtype = 'U'