Преобразование строковой даты в datetime в Oracle

Как мне преобразовать эту строку date в datetime в oracle.

2011-07-28T23:54:14Z

Использование этого кода приводит к ошибке:

TO_DATE('2011-07-28T23:54:14Z',  'YYYY-MM-DD HH24:MI:SS')

Как это можно сделать?

Error report:
SQL Error: ORA-01861: literal does not match format string
01861. 00000 -  "literal does not match format string"
*Cause:    Literals in the input must be the same length as literals in
           the format string (with the exception of leading whitespace).  If the
           "FX" modifier has been toggled on, the literal must match exactly,
           with no extra whitespace.
*Action:   Correct the format string to match the literal.

Обновление: -

TO_DATE ('2011-07-28T23: 54: 14Z', 'YYYY-MM-DD "T "HH24: MI: SS" Z "')

Я вижу только дату, а не время в столбце

28-JUL-11
22
задан arsenal 27 October 2011 в 18:47
поделиться