To be able to store the application data in UNICODE, the database must be UNICODE-enabled and you must set the code attribute UNICODE for the required application data (Installing a UNICODE-Enabled Database). You can set the code attribute in the following ways:
· Database parameter DEFAULT_CODE is not set to value UNICODE:
...
¡ If you specify the code attribute UNICODE in the column definition, then the application data is stored in UNICODE, only for this column.
¡ If you do not enter a code attribute, the code entered in the parameter DEFAULT_CODE is used for these column values.
· Database parameter DEFAULT_CODE is set to value UNICODE:
If you do not specify a code attribute or specify the code attribute UNICODE in the column definition, then the application data is stored in UNICODE for this column.
¡ If you specify a different code attribute, the data is stored using this code attribute.
Database parameter DEFAULT_CODE is set to value UNICODE.
Column definition |
Result |
CHAR (n) UNICODE |
UNICODE column |
CHAR (n) |
UNICODE column |
CHAR (n) ASCII |
ASCII column |
CHAR (n) BYTE |
Code neutral, that is, the column values are not converted by the database system |
For information on setting database parameters, see the following documentation:
· Database Manager GUI: SAP DB 7.4, Displaying and Changing Database Parameters
· Database Manager CLI: SAP DB 7.4, Changing the Value of a Database Parameter