Hi, this is funny.
I got Execute SQL Task with SQLStatement as stored procedure; also I have Result Set configured there. I created package variable of 'DBNull' data type to handle result set (and pass it into Foreach Loop Container as a next step). Testing Execute SQL Task itself and getting error 'the type of the value (DBNull) being assigned to variable differs from the current variable type (DBNull)'. Data type is equal! What the thing? Please advise.
You need to use a data type of Object to handle resultsets.
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
January 24, 2020 at 2:05 pm
Thanks Phil Parkin, it works fine with variable of 'Object' data type.
I must say, error text is not intuitive at all.
January 24, 2020 at 2:20 pm
Thanks Phil Parkin, it works fine with variable of 'Object' data type.
I must say, error text is not intuitive at all.
I'm with you on error message clarity. On Azure, I'm currently dealing with this one, so count yourself lucky!
'SSIS Executor exit code: -529697949'
Message Source Name = 'WorkerAgent'
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
January 24, 2020 at 2:58 pm
Thanks Phil Parkin again. I'm not big fan of Microsoft products in general. Just open to work with any type of database. SSIS usage is just side effect of my current project.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply