Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- php
- exception
- html
- @RequestBody
- checbox
- 문자열
- switch
- json
- spring form tag
- 이클립스
- Oracle
- HTML5
- 날짜
- MYSQL
- DB
- 네이버스마트 에디터
- 오라클
- 전자정부 표준프레임워크
- RADIO
- SSL
- 한글
- 호환성
- 스크립트
- maven
- jquery
- java
- JSTL
- null
- 톰캣
- 웹 플랫폼 설치 관리자
Archives
- Today
- Total
개인적인 정리
ORACLE CURRENT_TIMESTAMP() 본문
오라클 CURRENT_TIMESTAMP()
CURRENT_TIMESTAMP(precision)
CURRENT_TIMESTAMP returns the current date and time in the session time zone, in a value of data type TIMESTAMP WITH TIME ZONE. The time zone offset reflects the current local time of SQL session. If you omit precision, then the default is 6. The difference between this function and LOCALTIMESTAMP is the CURRENT_TIMESTAMP returns a TIMESTAMP WITHE TIME ZONE value LOCALTIMESTAMP returns a TIMESTAMP value.
In the optional argument, precision specifies the fractional second precision of the time value returned.
SQL > SELECT SESSIONTIMEZONE, CURRENT_TIMESTAMP() FROM DUAL ;
--> +09:00 2020/03/26 AM 10:46:57.662000 +09:00
'DB > ORACLE' 카테고리의 다른 글
ORACLE EMPTY_BLOB(), EMPTY_CLOB() (0) | 2020.03.30 |
---|---|
ORACLE DENSE_RANK() (0) | 2020.03.26 |
ORACLE DELETEXML() (0) | 2020.03.26 |
ORACLE DECODE() (0) | 2020.03.26 |
ORACLE CURRENT_DATE() (0) | 2020.03.26 |
ORACLE COUNT() (0) | 2020.03.26 |
ORACLE COS() (0) | 2020.03.26 |
ORACLE CONCAT() (0) | 2020.03.25 |
Comments