Ssis Data Types
Ssis Data Types
C H E AT S H E E T •
•
DT_BOOL: It is a 1-bit Boolean Value
DT_BYTES: It is a binary data value and the length is variable, maximum length is up-to
• DT_DECIMAL: An exact numeric value with a fixed precision and a fixed scale. This data
type is a12-byte unsigned integer with a separate sign, a scale of 0 to 28, and a maximum
8000 bytes. precision of 29
SSIS DATA TYPES
• DT_CY: It is a currency value and this data type is an eight-byte signed integer with a • DT_FILETIME (Format: yyyy-mm-dd hh:mm:ss:fff): A 64-bit value that represents the
SSIS uses its own data types to perform several operations on the data like scale of 4 and a maximum precision of 19 digits number of 100-nanosecond intervals. The maximum scale of fractional seconds is 3 digits
move, manage and manipulate before loading it into the target destination. • DT_DATE (Format: yyyy-mm-dd): It is a date structure that consists of year, month, day, • DT_GUID: It is a globally unique identifier (GUID).
SSIS also includes the data types that supports many other database hour, minute, seconds, and fractional seconds. The maximum scale of fractional seconds • DT_I1: It is a one-byte, signed integer.
systems such as Jet, Oracle and DB2. is 7 digits • DT_I2: It is a two-byte, signed integer
• DT_DBDATE: A date structure that consists of year, month, and day. • DT_I4: It is a four-byte, signed integer.
CLASSIFICATION • DT_DBTIM (Format: hh:mm: ss): A time structure that consists of hour, minute, and • DT_I8: It is an eight-byte, signed integer
second. • DT_NUMERIC: An exact numeric value with a fixed precision and scale. This data type is a
• Numeric: The data type which supports numeric values such as • DT_DBTIME2(Format: hh:mm: ss[.fffffff]): A time structure that consists of hour, minute, 16-byte unsigned integer with a separate sign.
currencies, decimals and signed and unsigned integers second, and fractional seconds. The maximum scale of fractional seconds is 7 digits • DT_R4: It is a single-precision floating-point value.
E.g.: DT_I4, DT_CY, DT_NUMERIC, DT_I2 • DT_DBTIMESTAMP(Format: yyyy-mm-dd hh:mm: ss[. fff]): A timestamp structure that • DT_R8: It is a double-precision floating-point value
• String: The data types which supports ANSI and Unicode character consists of year, month, day, hour, minute, second, and fractional seconds. The • DT_STR: It is a null-terminated ANSI/MBCS character string with a maximum length of
strings
maximum scale of fractional seconds is 3 digits 8000 characters
E.g.: DT_WSTR, DT_STR
• DT_DBTIMESTAMP2(Format: yyyy-mm-dd hh:mm: ss[.fffffff]): A timestamp structure that • DT_UI1: It is a one-byte, unsigned integer
• Date/Time: The data types supporting data values, time values or both in
consists of year, month, day, hour, minute, second, and fractional seconds. The • DT_UI2: It is a two-byte, unsigned integer
various formats
E.g.: DT_DBTIMESTAMP, DT_DBDATE
maximum scale of fractional seconds is 7 digits • DT_UI4: It is a four-byte, unsigned integer.
• Binary: The data type which can support binary and image values • DT_DBTIMESTAMPOFFSET(Format: yyyy-mm-dd hh:mm: ss[.fffffff] [{+|-} hh:mm]): A • DT_UI8: It is an eight-byte, unsigned integer.
E.g.: DT_BYTES, DT_IMAGE timestamp structure that consists of year, month, day, hour, minute, second, and • DT_WSTR: It is a null-terminated Unicode character string with a maximum length of
• Boolean: A data type used to handle Boolean values fractional seconds. The maximum scale of fractional seconds is 7 digits 4000 characters
E.g.: DT_BOOL • DT_NTEXT: It is a Unicode character string with a maximum length of 2^30-1 characters • DT_IMAGE: It is a binary value with a maximum size of 2^31 -1 bytes
• Identifier: A data type which can be used to handle globally unique • DT_TEXT: An ANSI character string with a maximum length of 2^31-1 characters • DT_NTEXT: It is a Unicode character string with a maximum length of 2^30-1 characters
identifiers (GUIDs)
• DT_TEXT: An ANSI character string with a maximum length of 2^31-1 characters
E.g.: DT_GUID • DT_IMAGE: It is a binary value with a maximum size of 2^31 -1 bytes
• OLE DB : It is a connection manger which is used to retrieve the data from and extract the data into the database
• Data Flow: It is a task containing the components required to extract, transform or load the data of a product. Basically, it contains to components used to perform ETL operation on the data
• OLE DB source: It is used to retrieve the data from the product table in the database. Here the source uses the OLE DB connection manager to connect to the database
• Data Conversion: It is used for Transformation that converts two columns in the data flow
FURTHERMORE:
• Derived column: It is used for Transformation that creates a separate column from the concatenated data from the columns in the data flow
SSIS Certification Training Course
• OLE DB Destination: Used to insert data into the table. The destination also uses the OLE DB connection manager to connect to the database