To find which table has the column name like 'test' in Database MS SQL
select * from sys.all_columns C
join sys.tables T on C.object_id = T.object_id
where C.name like '%test%'
select * from sys.all_columns C
join sys.tables T on C.object_id = T.object_id
where C.name like '%test%'
No comments:
Post a Comment