Article Directory
1 Overview
1.1 identifier is invalid
- Reserved word (reserved = 'Y') can not be used as the column name
- Keyword (reserved = 'N') Although you can use as a column name, but Oracle is not recommended.
SELECT t.reserved FROM v$reserved_words t WHERE t.keyword = 'DESC';
RESERVED
Y
2, data dictionary v $ reserved_words
Oracle 12c - official documents - v $ reserved_words Comments
Column | Description | understanding |
---|---|---|
KEYWORD | Name of the keyword | |
LENGTH | Length of the keyword | |
RESERVED | Indicates whether the keyword cannot be used as an identifier (Y) or whether the keyword is not reserved (N) | |
RES_TYPE | Indicates whether the keyword cannot be used as a type name (Y) or whether the keyword is not reserved (N) |
|
RES_ATTR | Indicates whether the keyword cannot be used as an attribute name (Y) or whether the keyword is not reserved (N) |
|
RES_SEMI | Indicates whether the keyword is not allowed as an identifier in certain situations, such as in DML (Y) or whether the keyword is not reserved (N) | |
DUPLICATE | Indicates whether the keyword is a duplicate of another keyword (Y) or whether the keyword is not a duplicate (N) |