Select a.name as Columns, b.name as TableName from syscolumns aleft join sysobjects b on a.id = b.idWhere b.type = 'U' and a.name ='Book_Code' order by b.name
b.type='U' (表), b.type='V' (视图)