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.
The code is in the normal location on github. It follows the same CommandRegistry/CommandListener that was used in lots of the previous examples.