I saw Stephen's example of checking reserved words in the database from Vertan's day and figured I'd do the same in SQLcl.
#595 #plsql Is it a reserved word? PL/SQL procedure to help you sort that out. Dyn PLSQL example! @oraclelivesql https://t.co/M10kVnsQ3y pic.twitter.com/XFFHOVzNCK— Steven Feuerstein (@sfonplsql) November 11, 2016
Checked if something is reserved seems like a nice add on for the tooling. This example adds a SQL>reserved command that checks all words passed to see if they are in the single source of truth which is v$reserved_words
The outcome is something like this.
![](https://3.bp.blogspot.com/-d_SGmHi6XXY/WCnIIj7V84I/AAAAAAAABNM/Vh5UkaTJRKwr1Z2DryuaCOovJ59-S867ACK4B/s640/Screen%2BShot%2B2016-11-14%2Bat%2B09.20.08.png)
The code is in the normal location on github. It follows the same CommandRegistry/CommandListener that was used in lots of the previous examples.