Use a Derived Column Transformation to convert numeric/boolean to string.
Boolean Value Change in OLEDB Source of SSIS Data Flow in SSIS
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).
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
2 answers
Sort by: Newest
-
-
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