SSIS - How do I see/set the field types in a Recordset?
Posted
by thursdaysgeek
on Stack Overflow
See other posts from Stack Overflow
or by thursdaysgeek
Published on 2010-04-01T00:26:14Z
Indexed on
2010/04/01
0:33 UTC
Read the original article
Hit count: 377
I'm looking at an inherited SSIS package, and a stored procedure is sending records to a recordset called USER:NEW_RECORDS. It's of type Object, and the value is System.Object. It is then used for inputting that data to a SQL table. We're getting an error, because it seems that the numeric results of the stored procedure are being put in a DT_WSTR field, and then failing when it is then put into a decimal field in the database.
Most of the records are working, but one, which happens to have a longer number of decimal digits, is failing.
I want to see exactly what my SSIS recordset field types are, and probably change them, so I can force the data to be truncated properly and copied. Or, perhaps, I'm not even looking at this correctly. The data is put into the recordset using a SQL Task that executes the stored procedure.
© Stack Overflow or respective owner