*날짜를 취득해 표시 하는 방법
select  (convert(char(8),getdate(),112))
 column1    
 ---------- 
 20060607   
select  (convert(char(10),getdate(),102))
column1    
 ---------- 
 2006.06.07
select REPLACE(REPLACE(REPLACE(CONVERT(varchar(20), 
getdate() , 120), ':', ''), '-', ''), ' ', '')
 
댓글 없음:
새 댓글을 작성할 수 없습니다.