[
https://issues.apache.org/jira/browse/DERBY-5214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mamta A. Satoor updated DERBY-5214:
-----------------------------------
Labels: derby_triage10_10 escape function sql syntax (was: escape function
sql syntax)
> Make DATETIME arithmetic functions easier to use
> ------------------------------------------------
>
> Key: DERBY-5214
> URL: https://issues.apache.org/jira/browse/DERBY-5214
> Project: Derby
> Issue Type: Improvement
> Components: JDBC, SQL
> Affects Versions: 10.8.1.2
> Reporter: Lukas Eder
> Priority: Minor
> Labels: derby_triage10_10, escape, function, sql, syntax
>
> Quite a few functions are supported in Derby's proprietary "JDBC escape
> syntax":
> http://db.apache.org/derby/docs/10.8/ref/rrefjdbc88908.html
> Most of those functions can also be used without that syntax, e.g.
> SELECT {fn abs(FIELD)}, abs(FIELD) FROM TABLE
> will return two times the same value.
> This doesn't hold true for TIMESTAMPADD and TIMESTAMPDIFF, which are not
> available in the "regular" syntax according to:
> http://db.apache.org/derby/docs/10.8/ref/rrefsqlj29026.html
> It would probably be a lot simpler for most users, not to get used to the {fn
> ...} syntax.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira