Andrei wrote:

3. Oracle

You can add and subtract number constants as well as other dates from
dates. Oracle interprets number constants in arithmetic date
expressions as numbers of days. For example, SYSDATE + 1 is tomorrow.
SYSDATE - 7 is one week ago. SYSDATE + (10/1440) is ten minutes from
now. Subtracting the hiredate column of the sample table employees from
SYSDATE returns the number of days since each employee was hired. You
cannot multiply or divide DATE values."

Один в один как в FB. Где ты тут углядел преобразование даты в целое?

4. PostgreSQL

  http://www.postgresql.org/docs/techdocs.13

  цитата:
  "Q.  Where are the DATEADD and DATEDIFF functions in PostgreSQL?
   A.  There are none.  PostgreSQL does not need them.  Use the + and -
operators instead. "

Тоже самое.


--
Дмитрий Еманов

Ответить