sql找含有制定字符列的表

在数据库中找到含有指定字符列的表
  select distinct tab.name from sys.columns col left join sys.tables tab on col.object_id =tab.object_id
 where col.name like '%district%' and tab.name is not null
 
原文地址:https://www.cnblogs.com/Amity/p/2890958.html