Decimal numeric category - connect_cdc_mimix_share - Latest

Connect CDC System Reference Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (MIMIX Share)
Version
Latest
Language
English
Product name
Connect CDC
Title
Connect CDC System Reference Guide
Copyright
2024
First publish date
2003
ft:lastEdition
2024-08-20
ft:lastPublication
2024-08-20T21:40:14.000381

You can convert datatypes in the Decimal Numeric category to datatypes in the Decimal Numeric, Character, Integral Numeric, and Approximate Numeric categories.

You cannot convert datatypes in the Decimal Numeric category to datatypes in the Date, Interval, Binary, or Other categories.

Note: When mapping decimals to character, for instance, DEC(3.2) mapped to CHAR, the target column has to be wide enough to handle the maximum number of digits that can be sent. Otherwise, truncation of data can occur.

As an example, in the mapping DEC(3,2) to character, the target needs to be a minimum of 5 characters (that is, CHAR(5) ) to accommodate the maximum size of the data that can be sent. This includes the sign, the decimal point, and the precision and scale:

-n.nn

For other information on how truncation is handled in a decimal, see Data Handling.

See Decimals for information on how the Expression Handler deals with decimals.

The supported Decimal Numeric datatype mappings are shown in the table below. DBMSs are abbreviated in the table as follows:

Connect CDC has two binary categories: Binary and Long Binary. Datatypes designed for large binary objects belong to the Long Binary category.

Binary type columns in any DBMS cannot be used in data enhancement, expressions or gate conditions.

Note: The Connect CDC Director does not allow you to map a BINARY source column to a shorter BINARY target column. The Connect CDC Director allows with a warning a VARBINARY source column that is longer than its target column, but the Connect CDC Kernel treats it as an error if it encounters a value too long for the target column.