카테고리 없음
Ms-Sql 날짜 범위 검색
James Wetzel
2019. 5. 21. 16:22
728x90
반응형
declare @sdate_from datetime = '2019-05-20'
declare @sdate_to datetime = '2019-05-20'
select *
from abcd as ab with(nolock)
where convert(char(10), ab.reg_dt, 121) between @sdate_from and @sdate_to
728x90
반응형