Table of Contents

Search

  1. Preface
  2. Function reference
  3. Constants
  4. Operators
  5. Dates
  6. Functions
  7. System variables
  8. Datatype reference

Function Reference

Function Reference

Transformation datatypes

Transformation datatypes

The following table describes the transformation datatypes:
Datatype
Size in bytes
Description
Bigint
8 bytes
-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
Precision of 19, scale of 0
Integer value.
Binary
Precision
1 to 104,857,600 bytes
You cannot use binary data for flat file sources.
Date/Time
16 bytes
Jan 1, 0001 A.D. to Dec 31, 9999 A.D.
Precision of 29, scale of 9
(precision to the nanosecond)
Combined date/time value.
Decimal
8 bytes (if high precision is off or precision is greater than 28)
16 bytes (if precision <= 18 and high precision is on)
20 bytes (if precision > 18 and <= 28)
Decimal value with declared precision and scale. Scale must be less than or equal to precision.
Precision 1 to 28 digits, scale 0 to 28
Double
8 bytes
Double-precision floating-point numeric value.
You can edit the precision and scale. The scale must be less than or equal to the precision.
Integer
4 bytes
-2,147,483,648 to 2,147,483,647
Precision of 10, scale of 0
Integer value.
Nstring
Unicode mode: (precision + 1) * 2
ASCII mode: precision + 1
1 to 104,857,600 characters
Fixed-length or varying-length string.
Ntext
Unicode mode: (precision + 1) * 2
ASCII mode: precision + 1
1 to 104,857,600 characters
Fixed-length or varying-length string.
Real
8 bytes
Precision of 7, scale of 0
Double-precision floating-point numeric value.
Small Integer
4 bytes
-32,768 and 32,767
Precision of 5, scale of 0
Integer value.
String
Unicode mode: (precision + 1) * 2
ASCII mode: precision + 1
1 to 104,857,600 characters
Fixed-length or varying-length string.
Text
Unicode mode: (precision + 1) * 2
ASCII mode: precision + 1
1 to 104,857,600 characters
Fixed-length or varying-length string.

0 COMMENTS

We’d like to hear from you!