IT/DATABASE

[MSSQL] 원하는 테이블의 컬럼명 조회

솜주먹 2019. 8. 29. 13:05


select a.name

from dbo.syscolumns a, dbo.sysobjects b

where a.id = b.id

and b.xtype = 'U'

and b.name = '테이블명'