[ 
https://issues.apache.org/jira/browse/DERBY-2245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466684
 ] 

Knut Anders Hatlen commented on DERBY-2245:
-------------------------------------------

The first approach seems fine. I guess sqlgrammar.jj is the best place to find 
Derby's keywords. You'd probably be most interested in the two sections 
labelled /* Additional JSQL reserved keywords -- non-SQL92 reserved Keywords */ 
and  /* Additional JSQL keywords -- non-SQL92 non-reserved Keywords */.

Note that the javadoc at 
http://java.sun.com/javase/6/docs/api/java/sql/DatabaseMetaData.html#getSQLKeywords()
 says that only keywords that are not SQL:2003 keywords should be returned.

> DatabaseMetaData.getSQLKeywords() contains words that are not keywords in 
> Derby.
> --------------------------------------------------------------------------------
>
>                 Key: DERBY-2245
>                 URL: https://issues.apache.org/jira/browse/DERBY-2245
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 
> 10.2.1.6, 10.2.2.0
>            Reporter: Daniel John Debrunner
>         Assigned To: Saurabh Vyas
>            Priority: Minor
>
> Such as REFRESH and PUBLICATION.
> Not sure what the exact contents should be.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to