Oracle/SQL Fundamentals II
14일차 # 5-26: TZ_OFFSET
Bohemian life
2012. 4. 23. 22:44
- display the time zone offset (ahead/behind UTC) for the time zone
select tz_offset('Asia/Seoul')
, tz_offset('us/eastern')
, tz_offset('-02:00')
, tz_offset(sessiontimezone)
, tz_offset(dbtimezone)
from dual;
select tz_offset('sessiontimezone') from dual;
==> 오류: ORA-01882: 시간대 영역을 찾을 수 없습니다.