7.5 About Quoting Object Names

If an object name has characters that cause parsing errors enclose the object name in quotes.

The object name can be a number or string in commands that have the following format:

<verb> <object_type> <object_name>

For example, consider the following command:

CellCLI> list pluggabledatabase  CDB$ROOT
                                     ^
CELL-01504: Invalid command syntax.

LIST is the verb, PLUGGABLEDATABASE is the object type, and CDB$ROOT is the object name. In the above example, the parser throws an error when confronted by the $ character in the object name.

For object names that contain invalid characters, you need to surround the object name with either single or double quotes to force the parser to treat the object name as a string.

To avoid this error, surround the object name with either single or double quotes:

CellCLI> LIST PLUGGABLEDATABASE 'CDB$ROOT' 
         CDB$ROOT