database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
ㆍSybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Sybase Q&A 1485 게시물 읽기
No. 1485
날짜 변경 포맷.. 참고하세요
작성자
getdate()
작성일
2006-03-30 11:57
조회수
7,104

"TABLE-LAYOUT: fixed; WIDTH: 748px; BORDER-COLLAPSE: collapse; HEIGHT: 290px"

cellspacing="0" cellpadding="0" width="748" border="1" x:str="">

"WIDTH: 72pt; mso-width-source: userset; mso-width-alt: 2730"

width="96" />

"WIDTH: 182pt; mso-width-source: userset; mso-width-alt: 6883"

width="242" />

"WIDTH: 134pt; mso-width-source: userset; mso-width-alt: 5091"

width="179" />

"WIDTH: 149pt; mso-width-source: userset; mso-width-alt: 5660"

width="199" />

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"BORDER-RIGHT: black 0.5pt solid; WIDTH: 537pt; HEIGHT: 13.5pt"

width="716" colspan="4" height="18">datetime 변경 style

number

style

number

쿼리문 결과 포맷

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18">

none

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

getdate()

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

2006-03-30 11:18:02.23

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

yyyy-mm-dd hh:mm:ss.ms

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">100

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 100)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">Mar 30

2006 11:20AM

"BORDER-TOP: medium none; BORDER-LEFT: medium none">mmm dd

yyyy hh:mmAM/PM

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">101

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 101)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

03/30/2006

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

mm/dd/yyyy

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">102

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 102)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

2006.03.30

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

yyyy.mm.dd

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">103

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 103)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

30/03/2006

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

dd/mm/yyyy

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">104

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 104)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

30.03.2006

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

dd.mm.yyyy

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">105

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 105)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

30-03-2006

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

dd-mm-yyyy

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">106

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 106)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">30 Mar

2006

"BORDER-TOP: medium none; BORDER-LEFT: medium none">dd mmm

yyyy

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">107

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 107)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">Mar 30,

2006

"BORDER-TOP: medium none; BORDER-LEFT: medium none">mmm

dd,yyyy

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">108

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 108)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

11:24:10

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

hh:mm:ss

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">109

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 109)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">Mar 30

2006 11:25:26:703AM

"BORDER-TOP: medium none; BORDER-LEFT: medium none">mmm dd

yyyy hh:mm:msAM/PM

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">110

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 110)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

03-30-2006

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

mm-dd-yyyy

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">111

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 111)

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

2006/03/30

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

yyyy/mm/dd

"BORDER-TOP: medium none; HEIGHT: 13.5pt" height="18" x:num=

"">112

"BORDER-TOP: medium none; BORDER-LEFT: medium none">select

convert(varchar, getdate(), 112)

"BORDER-TOP: medium none; BORDER-LEFT: medium none" x:num="">

20060330

"BORDER-TOP: medium none; BORDER-LEFT: medium none">

yyyymmdd

 

이 글에 대한 댓글이 총 1건 있습니다.

땡큐

아무개님이 2006-05-31 16:40에 작성한 댓글입니다. Edit
[Top]
No.
제목
작성자
작성일
조회
1488윈도우용 Sybase 다운로드 및 구하는곳 [1]
나현길
2006-04-03
4669
1487한 디바이스에 data 와 log 같이 있을경우 로그만 삭제 가능한지요 [3]
방동식
2006-04-03
3972
1486sql좀 봐주세요...에러 원인을 잘 모르겟어요. [1]
초보sql
2006-04-01
4349
1485날짜 변경 포맷.. 참고하세요 [1]
getdate()
2006-03-30
7104
1481부정형 조건이 인덱스를 타네요. [1]
아류겐
2006-03-29
3633
1480convert(varchar(2),datepart(ss,getdate())) 문제점 [5]
아라클러
2006-03-29
5262
1479프로시져 내용보려면은 isql에서 [1]
사이비
2006-03-28
3947
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.021초, 이곳 서비스는
	PostgreSQL v16.4로 자료를 관리합니다