在数据库中查找某个字段属于哪个表的SQL语句怎么写

我的数据库是sql server 2000
2025-02-05 20:49:19
推荐回答(1个)
回答1:

select
[name]
from
sysobjects
where
id
in(select
id
from
syscolumns
Where
name='字段名')
这个是SQL
Server
2000数据库!