SSIS - How do I see/set the field types in a Recordset?
- by thursdaysgeek
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.