Oracle PL/SQL/System Tables Views/SYS EXTRACT UTC

Материал из SQL эксперт
Версия от 13:01, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

SYS_EXTRACT_UTC(x): convert the TIMESTAMP WITH TIMEZONE x to a TIMESTAMP containing the date and time in UTC

   <source lang="sql">

SQL> SQL> --SYS_EXTRACT_UTC(x): convert the TIMESTAMP WITH TIMEZONE x to a TIMESTAMP containing the date and time in UTC SQL> SQL> SELECT SYS_EXTRACT_UTC(TIMESTAMP "2005-05-13 19:15:26 PST") FROM dual; SYS_EXTRACT_UTC(TIMESTAMP"2005-05-1319:15:26PST")


14-MAY-05 02.15.26.000000000 AM SQL>

      </source>