SQL中統計某個字段在哪張表中出現過

select a.name 表名稱,b.name 列名稱

from sys.objects a,sys.columns b

where object_name(b.object_id)=a.name and b.name='description' and type='u'


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章