Boolean Value Change in OLEDB Source of SSIS Data Flow in SSIS

Arindam Roy (IN) 0 Reputation points
2025-05-21T04:07:51.68+00:00

SSIS doesn't throw error for any implicit conversion in dataflow at compile time unless we execute it.

We have this column called DBAName in source which is Boolean, and target datatype is DT_STR (as you can see in the following two screenshots).

source

destination

But if we execute it without converting DBAName to DT_STR explicitly, in throws an error.

Is this a known behavior?

What are general recommendations to avoid these types of issues where at compile time we don't see any warnings or errors but we get error at the runtime?

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,700 questions
0 comments No comments
{count} votes

2 answers

Sort by: Oldest
  1. Olaf Helper 47,416 Reputation points
    2025-05-21T06:34:06.64+00:00

    which we had to cast again to fix it.

    Cast into what?

    By definition of a boolean is

    0 = false

    Every other value = true


  2. Olaf Helper 47,416 Reputation points
    2025-05-23T05:12:37.3333333+00:00

    Use a Derived Column Transformation to convert numeric/boolean to string.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.