sp_tables
select name from sysobjects where type='U'
-- 테이블 리스트
select * from information_schema.tables
-- 컬럼 상세 정보
select * from information_schema.columns
where table_name = '테이블명'
order by 5
'공부할것들 > MS SQL' 카테고리의 다른 글
| MSSQL CTE 재귀, 트리구조 쿼리구현 (0) | 2010/01/05 |
|---|---|
| 잠겨있는(locking) 프로세스를 진단해주는 SQL 스크립트 (0) | 2009/07/16 |
| [MSSQL 쿼리] MSSQL 테이블 및 컬럼 조회 쿼리 (DESC 테이블명) (0) | 2009/06/16 |
| SQL Server 버전과 에디션을 확인하는 방법 (0) | 2009/02/19 |
| [펌]Mass SQL Injection 일괄 삭제하기 - VBScript (1) | 2009/01/12 |
| MSSQL 성능 모니터링 방법 및 메모리 할당 튜닝텅날개 (0) | 2008/07/31 |

