Comment on page
There are certain keywords in SQL that are marked as reserved. The reserved words have to be surrounded by double quotes when not meant as keywords.
These are the reserved words in Starcounter SQL in alphabetic order
The list of reserved words might be extended in later versions of Starcounter SQL. In particular some keywords in SQL92 might become reserved words in Starcounter SQL.
Reserved words cannot be used in queries directly. They have to be surrounded with double quotes as in example:
SELECT d FROM "DATE" d
SELECT o FROM "ORDER" o
Double quoting can be applied to any identifier, but only necessary for reserved keywords. It is important to double quote each identifier in identifier change, e.g.:
SELECT t FROM "Order"."Date" t
You can't use square brackets
[ ]to escape reserved words in SQL