KEMBAR78
Ssis Data Type Cheat Sheet | PDF | Data Type | String (Computer Science)
0% found this document useful (0 votes)
865 views1 page

Ssis Data Type Cheat Sheet

This document summarizes the data types used in SQL Server Integration Services (SSIS) and their equivalent data types in SQL Server. It provides the size in bytes and descriptions for each SSIS data type. Some key SSIS data types include DT_DATE for date values, DT_STR for string values up to 8000 characters, DT_WSTR for Unicode strings up to 4000 characters, and DT_DECIMAL for exact numeric values with fixed precision and scale.

Uploaded by

ebtrain
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
865 views1 page

Ssis Data Type Cheat Sheet

This document summarizes the data types used in SQL Server Integration Services (SSIS) and their equivalent data types in SQL Server. It provides the size in bytes and descriptions for each SSIS data type. Some key SSIS data types include DT_DATE for date values, DT_STR for string values up to 8000 characters, DT_WSTR for Unicode strings up to 4000 characters, and DT_DECIMAL for exact numeric values with fixed precision and scale.

Uploaded by

ebtrain
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

SQL Server Integration Service Data Type

SSIS Data type


DT_BOOL DT_BYTES DT_CY DT_DATE DT_DBDATE DT_DBTIME DT_DBTIME2 DT_DBTIMESTAMP Date Time Smalldatetime, datetime Datetime2 3 5 4,8

SQL Server Equivalent Data Type


bit binary, varbinary, timestamp smallmoney, money

SQL Size Bytes


1 bit 8000, 8000, 8 4,8

Size & Description for SSIS


A Boolean value. A binary data value. The length is variable and the maximum length is 8000 bytes. A currency value. This data type is an eight-byte signed integer with a scale of 4 and a maximum precision of 19 digits. Format: yyyy-mm-dd. A date structure that consists of year, month, day, hour, minute, seconds, and fractional seconds. The fractional seconds have a fixed scale of 7 digits. A date structure that consists of year, month, and day. Format: hh:mm:ss. A time structure that consists of hour, minute, and second. Format: hh:mm:ss[.fffffff]. A time structure that consists of hour, minute, second, and fractional seconds. The fractional seconds have a maximum scale of 7 digits. Format: yyyy-mm-dd hh:mm:ss[.fff]. A timestamp structure that consists of year, month, day, hour, minute, second, and fractional seconds. The fractional seconds have a maximum scale of 3 digits. Format : yyyy-mm-dd hh:mm:ss[.fffffff]. A timestamp structure that consists of year, month, day, hour, minute, second, and fractional seconds. The fractional seconds have a maximum scale of 7 digits. Format : yyyy-mm-dd hh:mm:ss[.fffffff] [{+|-} hh:mm]. A timestamp structure that consists of year, month, day, hour, minute, second, and fractional seconds. The fractional seconds have a maximum scale of 7 digits. An exact numeric value with a fixed precision and a fixed scale. This data type is a 12-byte unsigned integer with a separate sign, a scale of 0 to 28, and a maximum precision of 29. Format: yyyy-mm-dd hh:mm:ss:fff. A 64-bit value that represents the number of 100-nanosecond intervals since January 1, 1601. The fractional seconds have a maximum scale of 3 digits. A globally unique identifier (GUID). A one-byte, signed integer. A two-byte, signed integer. A four-byte, signed integer. An eight-byte, signed integer. An exact numeric value with a fixed precision and scale. This data type is a 16-byte unsigned integer with a separate sign, a scale of 0 - 38, and a maximum precision of 38. A single-precision floating-point value. A double-precision floating-point value. A null-terminated ANSI/MBCS character string with a maximum length of 8000 characters. (If a column value contains additional null terminators, the string will be truncated at the occurrence of the first null.) A one-byte, unsigned integer. A two-byte, unsigned integer. A four-byte, unsigned integer. An eight-byte, unsigned integer. A null-terminated Unicode character string with a maximum length of 4000 characters. (If a column value contains additional null terminators, the string will be truncated at the occurrence of the first null.) A binary value with a maximum size of 231-1 (2,147,483,647) bytes. . A Unicode character string with a maximum length of 230 - 1 (1,073,741,823) characters. An ANSI/MBCS character string with a maximum length of 231-1 (2,147,483,647) characters.

DT_DBTIMESTAMP2

DT_DBTIMESTAMPOFFSET

Datetimeoffset

10

DT_DECIMAL

DT_FILETIME DT_GUID DT_I1 DT_I2 DT_I4 DT_I8 DT_NUMERIC DT_R4 DT_R8 DT_STR DT_UI1 DT_UI2 DT_UI4 DT_UI8 DT_WSTR DT_IMAGE DT_NTEXT DT_TEXT UniqueIdentifier Smallint Int Bigint Decimal, Numeric Real Float Char, Varchar Tinyint 16 2 4 8 17 4 8 8000 1

Nchar, Nvarchar, sql_variant, xml Image Ntext Text

4000,4000 ,-, 231-1 231-1 230-1 231-1

SQL Server Rider

Page 1

You might also like