DataBase/MS-SQL
데이터베이스 내의 조회하려는 컬럼명이 있는 테이블을 찾는 법
J모해
2012. 10. 1. 15:44
반응형
DB의 조회하려는 컬럼명이 있는 테이블을 찾는 법
select distinct a.name
from sysobjects a, syscolumns b
where a.id = b.id and b.name like ‘%add%’
반응형