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

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

原文地址:https://www.cnblogs.com/mojiejushi/p/13377362.html