已知列名 ELEMENT_ID ,查询所属表名称
Select O.name objectName, C.name ColumnName from sys.columns C inner join sys.objects O ON C.object_id=O.object_id where C.name like '%ELEMENT_ID%'order by O.name, C.name
已知列名 ELEMENT_ID ,查询所属表名称
Select O.name objectName, C.name ColumnName from sys.columns C inner join sys.objects O ON C.object_id=O.object_id where C.name like '%ELEMENT_ID%'order by O.name, C.name