Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Syntax
for Bulk Copy transfer statements [Table of Contents] Datatype
conversion for transfer from statements

Access Service User's Guide DirectConnect for AS/400

[-] Chapter 10 Using Bulk Copy Transfer
[-] How Bulk Copy transfer statements are processed

How Bulk Copy transfer statements are processed

Bulk copy transfer processing occurs in the following sequence:

Guidelines for processing Bulk Copy values

To avoid errors in the bulk copy transfer process, review the following guidelines that apply to values.

Character datatypes

Character datatypes (CHAR, VARCHAR, TEXT) can be converted to any other datatype. Conversely, every datatype can be converted to character data. However, you must be sure the character string is convertible to the target datatype. For example, the character string "450" can be converted to a numeric datatype such as INTEGER or DECIMAL, but the character string "Hello" causes a value error going to a numeric datatype.

Numeric datatypes

Numeric datatypes can be converted to other numeric datatypes or to character datatypes. However, they cannot be converted to binary or date datatypes.

Additional guidelines are:

Date datatypes

Date datatypes can be converted to other date datatypes or to character strings. However, they cannot be converted to numeric or binary datatypes.

Binary datatypes

Binary datatypes can be converted to other binary datatypes and to character strings. However, they cannot be converted to numeric or date datatypes.

ASCII to EBCDIC translation does not occur if the source column, the destination column, or both are BINARY datatypes.


Syntax
for Bulk Copy transfer statements [Table of Contents] Datatype
conversion for transfer from statements