1 SET_NATIONAL_CHARACTER_SET Specifies the national character set for the module or interactive SQL session. 2 Environment You can use the SET NATIONAL CHARACTER SET statement: o In interactive SQL o Embedded in host language programs to be precompiled o As part of a procedure in an SQL module o In dynamic SQL as a statement to be dynamically executed 2 Format SET NATIONAL CHARACTER SET --> runtime-options ----> runtime-options --+---> 'string-literal' ------+-----> +---> parameter -------------+ +---> parameter-marker ------+ 2 Arguments 3 parameter Specifies the national character set for your session. The value of runtime-options must be a valid character set. See the Oracle Rdb SQL Reference Manual for more information about the supported character sets. 3 parameter-marker Specifies the national character set for your session. The value of runtime-options must be a valid character set. See the Oracle Rdb SQL Reference Manual for more information about the supported character sets. 3 'string-literal' Specifies the national character set for your session. The value of runtime-options must be a valid character set. See the Oracle Rdb SQL Reference Manual for more information about the supported character sets. 2 Example Example 1: Setting the national character set for an interactive session SQL> show character sets; Default character set is DEC_KANJI National character set is DEC_MCS Identifier character set is SHIFT_JIS Literal character set is SHIFT_JIS Display character set is SHIFT_JIS SQL> set national character set 'DEC_KANJI'; SQL> show character sets; Default character set is DEC_KANJI National character set is DEC_KANJI Identifier character set is SHIFT_JIS Literal character set is SHIFT_JIS Display character set is SHIFT_JIS