convert 함수를 이용한 날짜 포맷

select count(*) from TableName where convert(char(8),RegDate,112) = ‘20060911’

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다