[ms-sql] 주석 처리
- 작성일: 2022/07/14
SQL에서 주석 처리
다른 일반적인 언어와 마찬가지로 single line 주석과 multi line 주석이 있습니다.
Single line comment
’–’를 사용한 단일 라인 주석 처리
-- single line comment
select * from contents
Multi line comment
’/*, */’를 사용한 여러 라인 주석 처리
/*
multi line comment
select all
*/
select * from contents
Leave a comment