Oracle PL/SQL/System Tables Views/SYS EXTRACT UTC — различия между версиями

Материал из SQL эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Версия 16:45, 26 мая 2010

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>