I have found an issue with the 'J' format of the oracle.to_date(text, text) function, it reports wrong results compared to Oracle. On Oracle: SQL> ALTER SESSION SET NLS_DATE_FORMAT='YYYY-MM-DD'; ...
alter session set nls_timestamp_format='yyyy-mm-dd hh24:mi:ssxff'; alter session set nls_date_format='yyyy-mm-dd hh24:mi:ss'; alter session set nls_timestamp_tz_format = 'yyyy-mm-dd hh24:mi:ss tzh:tzm ...
SQLを勉強し始めると、こんな疑問を持つ人が多いと思います。 SELECT * FROM users; これはどのデータベースでもほぼ同じ意味になります。 「usersテーブルからデータを全部取ってきて」 この基本の考え方は共通です。 からです。 よくある例を見てみましょう。