TIMESTAMP+-TIME
---------------

                 Key: CORE-6439
                 URL: http://tracker.firebirdsql.org/browse/CORE-6439
             Project: Firebird Core
          Issue Type: New Feature
          Components: Engine
    Affects Versions: 3.0.7
            Reporter: Kovalenko Dmitry


Hello,

Could you add support for the following expressions with TIMESTAMP and TIME?

SQL:
select CURRENT_TIMESTAMP-CURRENT_TIME from RDB$DATABASE

ERROR:
Dynamic SQL Error
expression evaluation not supported
Invalid data type for subtraction involving DATE, TIME or TIMESTAMP types

SQL:
select CURRENT_TIMESTAMP+CAST('01:00:00' AS TIME) from RDB$DATABASE

ERROR:
Dynamic SQL Error
expression evaluation not supported
Adding two DATE values or two TIME values is not allowed


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to