Skip to content

Identifer Case Sensitivity

Identifiers are Case-Sensitive

The following statements would not work because they refer to two different spaces, i.e. my_space and MY_SPACE:

nebula> CREATE SPACE my_space;
nebula> use MY_SPACE;
[ERROR (-8)]: SpaceNotFound:
# my_space and MY_SPACE are two different spaces

Keywords and Reserved Words are Case-Insensitive

The following statements are equivalent:

nebula> show spaces;  # show and spaces are keywords.
nebula> SHOW SPACES;
nebula> SHOW spaces;
nebula> show SPACES;

Last update: March 29, 2021
Back to top