How do I set the NLS_DATE_FORMAT for the Database Reader node in Knime?

北城余情 提交于 2019-12-11 17:33:17

问题


I am using the following SQL in the Knime Database Reader node with Oracle Driver:

SELECT
TO_DATE(SYSDATE, 'yyyy-mm-dd HH24:mi:ss') “NOW”
FROM DUAL

The result contains the correct Date but the time is always 00:00:00.

If I run the same query Oracle LiveSQL or DBfiddle I have the accurate time as well.

See: DBfiddle

The reason I think it works in DBfiddle and LiveSQL is because I am setting NLS_DATE_FORMAT.

How do I set the NLS_DATE_FORMAT for the Database Reader node in Knime?

来源:https://stackoverflow.com/questions/54155071/how-do-i-set-the-nls-date-format-for-the-database-reader-node-in-knime

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!