User Guide

SAP AG November 2002
Setting Database Parameter _UNICODE
In order to install a UNICODE-enabled database [Page 91], the database parameter
_UNICODE [Page
90] must be set to YES.
Please note that you cannot change database parameter _UNICODE once it has
been set.
You can set the database parameter _UNICODE when you install the database instance with
the Database Manager GUI or the Database Manager CLI.
Database Manager GUI
1. Start the Database Wizard.
2. Carry out the first four installation steps.
3. In step 5 (Parameters), choose Extended.
4. Set the _UNICODE parameter to YES.
5. Continue with the installation.
See also:
Database Manager GUI: SAP DB 7.4 , Section Creating a New Database Instance [See SAP
DB Library]
Database Manager CLI
A script with configuration information for the database instance contains, among other things,
lines for definition of the database parameters. You must insert the following line at this point:
param_put _UNICODE YES
See also:
Database Manager CLI: SAP DB 7.4, Changing a Parameter Value [See SAP DB Library]
Setting Code Attribute UNICODE
To be able to store the application data [Page 125] in UNICODE [Page 152], the database
must be UNICODE-enabled and you must set the code attribute [See SAP DB Library]
UNICODE for the required application data (Installing a UNICODE-Enabled Database [Page
91]). You can set the code attribute in the following ways:
Database parameter DEFAULT_CODE [Page
81] is not set to value UNICODE.
In the column definition, make sure you enter code attribute UNICODE. Application data
is then only stored in UNICODE for these column values.
If you do not enter a code attribute, the code entered in the parameter DEFAULT_CODE
(that is to say, not UNICODE) is used for these column values.
Database parameter DEFAULT_CODE is set to value UNICODE.
In the column definition, enter code attribute UNICODE. Application data is stored in
UNICODE for these column values.
If you do not enter a code attribute, the application data is stored in UNICODE for these
column values, because the parameter DEFAULT_CODE is set to UNICODE.
Database parameter DEFAULT_CODE is set to value UNICODE.
User Manual: SAP DB 92