티스토리 뷰
--테이블 목록보기
sp_tables
select * from information_schema.tables
--컬럼 상세내용보기
sp_columns 테이블명
select * from information_schema.columns where table_name = '테이블명'
select column_name, data_type, character_maximum_length, column_default from information_schema.columns where table_name = '테이블명'
sp_tables
select * from information_schema.tables
--컬럼 상세내용보기
sp_columns 테이블명
select * from information_schema.columns where table_name = '테이블명'
select column_name, data_type, character_maximum_length, column_default from information_schema.columns where table_name = '테이블명'
'MSSQL' 카테고리의 다른 글
데이터베이스 컬럼정보 가져오기 (0) | 2018.01.12 |
---|---|
[MS-SQL] 단일사용자 모드 해제 (0) | 2017.12.08 |
LINK DB (0) | 2017.09.08 |
MSSQL 데이터베이스엔진 설치 오류 (0) | 2017.08.24 |
[MS SQL]SIMPLE LOG LEVEL (0) | 2017.04.18 |