TRUNC() does not accept second argument = -128 (but show it as required
boundary in error message)
--------------------------------------------------------------------------------------------------
Key: CORE-6355
URL: http://tracker.firebirdsql.org/browse/CORE-6355
Project: Firebird Core
Issue Type: Bug
Reporter: Pavel Zotov
Priority: Minor
Rollowing commands have the same issue on 2.5, 3.0 & 4.0:
SQL> set heading off;
SQL> select trunc(1,-127) from rdb$database;
0
SQL> select trunc(1,-128) from rdb$database;
Statement failed, SQLSTATE = 42000
expression evaluation not supported
-The numeric scale must be between -128 and 127 in TRUNC
--
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