Hitachi

Hitachi Advanced Database SQL Reference


6.1.4 Specifying names

Organization of this subsection

(1) About names

The following are specified as names:

A name can be specified either enclosed in double quotation marks (") or not. When specifying a name, we recommend enclosing it in double quotation marks ("). If a name containing alphabetic characters is enclosed in double quotation marks ("), it becomes case sensitive.

Note

You cannot specify a name that is the same as a reserved word, unless you enclose the name in double quotation marks ("). As the functional scope of SQL is extended, reserved words might be added, so we recommend that you enclose all names in double quotation marks to avoid potential conflict with reserved words that might be added in the future.

Note that a name is specified as an identifier. Identifiers include normal identifiers, which are not enclosed in double quotation marks ("), and delimited identifiers, which are enclosed in double quotation marks ("). The following are examples of specifying a normal identifier and a delimited identifier.

(2) Rules for characters that can be used in names

(3) What to do if a name conflicts with an SQL reserved word

Change the SQL statement by enclosing the name that is in conflict with a reserved word in double quotation marks ("), thus specifying it in the delimited identifier format.

Note that if a name containing alphabetic characters is enclosed in double quotation marks ("), it becomes case sensitive.