변환할 문자열로 datetime Oracle

어떻게 이 문자열로 변환한 날짜를 datetime 에서 오라클도 있습니다.

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:의 경우:SS"Z"')

나만 보일지 않는 시간에 열

28-JUL-11
질문에 대한 의견 (3)
해결책

이것을 보십시오: TO_DATE('2011-07-28T23:54:14Z','YYYY-MM-DD"T"HH24:의 경우:SS"Z"')

해설 (5)

이봐요 나는 같은 문제를 가지고 있었습니다. 내가 노력으로 변환'2017-02-20 12:15:32' varchar 날짜와 함께TO_DATE('2017-02-20 12:15:32','YYYY-MM-DD HH24:의 경우:SS')모든의 리뷰를 수집하고 있습니다.2017-02-20 시간이 사라졌

나의 솔루션을 사용하는 것이었TO_TIMESTAMP('2017-02-20 12:15:32','YYYY-MM-DD HH24:의 경우:SS')이 시간는't 이 사라집니다.

해설 (1)

할 수 있습 캐스트를 사용하여 문자를 날짜 결과

 select to_char(to_date('17-MAR-17 06.04.54','dd-MON-yy hh24:mi:ss'), 'mm/dd/yyyy hh24:mi:ss') from dual;
해설 (0)