Page 1 of 1

Dateadd parameter sequence

Posted: Thu 17 Nov 2016 16:25
by albourgz
Hi,
postgres: select {fn DATEADD(HOUR,2,localtimestamp ) } works
oracle: select {fn DATEADD(HOUR,2,sysdate ) } from dual fails, have to type select {fn DATEADD(HOUR,sysdate,2 ) }

This means the sequence of the parameters has to be changed according to database type.
Any fix/hint?

Re: Dateadd parameter sequence

Posted: Fri 18 Nov 2016 10:20
by azyk
Thank you for the information. We have reproduced and fixed this issue. This fix will be included in the next UniDAC build.