We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing functionality like this (for Oracle):
alter session set nls_date_format = 'dd.mm.yyyy hh24:mi:ss'; select trunc(sysdate, 'MI') , trunc(sysdate, 'HH24') , trunc(sysdate, 'DD') , trunc(sysdate, 'MM') , trunc(sysdate, 'YYYY') from dual; "TRUNC(SYSDATE,'MI')" "TRUNC(SYSDATE,'HH24')" "TRUNC(SYSDATE,'DD')" "TRUNC(SYSDATE,'MM')" "TRUNC(SYSDATE,'YYYY')" 03.08.2017 10:38:00 03.08.2017 10:00:00 03.08.2017 00:00:00 01.08.2017 00:00:00 01.01.2017 00:00:00
Analogies for:
mysql:
CAST(DATE_FORMAT(tstamp,'%Y-%m-%d %H:%i:00') AS DATETIME)
pgsql:
date_trunc('hour', current_timestamp)
The text was updated successfully, but these errors were encountered:
fixed #2032 sqlutil: new operator to allow transparent datetime trunc…
a87f75d
…ation across various DBMS
1aa05ac
1bfeab5
a7bf13e
b36a68e
32e544f
Merge pull request #2034 from qorelanguage/feature/2032_sqlutil_date_…
6ac4c5f
…trunc fixed #2032 sqlutil: new operator to allow transparent datetime trunc…
pvanek
No branches or pull requests
Missing functionality like this (for Oracle):
Analogies for:
mysql:
pgsql:
The text was updated successfully, but these errors were encountered: