Code Attribute for a Data Stream with LONG Values
If you do not specify a code attribute in the command, the SAP DB Loader uses a default value for the code attribute of the data stream. This is derived from the
internal database data type of the column to be loaded. The following conversion table is used:
Internal Database Data Type |
External Code Attribute |
LONG ASCII |
ASCII |
LONG BYTE |
BINARY |
LONG UNICODE |
UCS2 |
If the external code attribute and the internal database data type are different, the SAP DB Loader converts the data. If the types are incompatible, the SAP DB Loader generates an error message and stops processing the command.
Compatibility Table
External Code Attribute |
Internal Database Data Type |
Compatible yes/no |
ASCII |
LONG ASCII |
yes |
UCS2 |
LONG ASCII |
no |
BINARY |
LONG ASCII |
no |
Use
Each LONG Value to Be Inserted in a Separate LONG Data Stream All LONG Values to Be Inserted in One LONG Data Stream