sql sever查询库中每个表是否存在某个列名 列出表名

select t.TABLE_NAME from information_schema.columns t where t.COLUMN_NAME='列名';

posted @ 2020-07-25 17:03  摩诘  阅读(203)  评论(0编辑  收藏  举报