字符串转日期问题
如何将字符串'2013-12-01 AM 09:39:34'转化成日期格式? 字符串转日期
[解决办法]
alter session set nls_language=AMERICAN;
SELECT TO_DATE('2013-12-01 AM 09:39:34','YYYY-MM-DD PM HH:MI:SS') FROM DUAL;
SELECT TO_DATE('2013-12-01 AM 09:39:34',
'YYYY-MM-DD AM HH:MI:SS',
'NLS_DATE_LANGUAGE = American')
FROM DUAL;