September 23, 2010 at 5:32 pm
Hi All,
I need to grab the results of a select statement in a variable and there are more than 1 rows in the result, but just one column.
I used oledb source and wrote a select statement there and then added a RECORDSET DESTINATION, and set variable(of type object) there. All is well till here. However, I need to use this variable in a File System Task in a For Each Loop. But the File System Task only expects string variables. Any other way of doing this?
Any help would be truly appreciated.
Thanks in advance.
September 23, 2010 at 9:49 pm
Sam1980 (9/23/2010)
Hi All,I need to grab the results of a select statement in a variable and there are more than 1 rows in the result, but just one column.
I used oledb source and wrote a select statement there and then added a RECORDSET DESTINATION, and set variable(of type object) there. All is well till here. However, I need to use this variable in a File System Task in a For Each Loop. But the File System Task only expects string variables. Any other way of doing this?
Any help would be truly appreciated.
Thanks in advance.
Create an object type variable and using the Script task convert it into necessary type and include the logic you wish to implement in FST in the script task itself
Raunak J
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply