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.
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'
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 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy