SQL$HELP_OLD72.HLB  —  SET_KEYWORD_RULES, Examples
    Example 1: Setting the keyword rule characteristics to SQL99

    SQL> SET KEYWORD RULES 'SQL99';
    SQL> --
    SQL> -- Because NATIONAL is a keyword, SQL returns an error message.
    SQL> --
    SQL> CREATE DOMAIN NATIONAL CHAR (2);
    %SQL-F-RES_WORD_AS_IDE, Keyword NATIONAL used as an identifier
    SQL> --
    SQL> -- Enclose NATIONAL in double quotation marks.
    SQL> --
    SQL> CREATE DOMAIN "NATIONAL" CHAR (2);
    SQL> --

    Example 2: Setting the keyword rule characteristics to SQLV40

    SQL> SET KEYWORD RULES 'SQLV40';
    SQL> --
    SQL> -- You can use a keyword as an identifier.
    SQL> --
    SQL> CREATE DOMAIN NATIONAL CHAR (2);
    %SQL-I-DEPR_FEATURE, Deprecated Feature: Keyword national used as an identifier
    SQL> --
Close Help