SQL syntax is presented in modified BNF notation.
The meta-symbols of BNF are listed in the following table.
Symbol | Meaning |
---|---|
| | Or. Choose one of the items. |
[ ] | Enclose optional items. |
* | Flags items that you can repeat 0 or more times. Has a special meaning in some SQL statements. |
{ } | Groups items so that they can be marked with one of the symbols [ ], |, or *. |
( ) . , | Other punctuation that is part of the syntax. |
CREATE [ UNIQUE ] INDEX IndexName ON TableName ( SimpleColumnName [ , SimpleColumnName ] * )
java org.apache.derby.tools.ij
This documentation attempts to be JVM neutral, but any command line examples or syntax using JVM specific references should be verified with your JVM documentation.