开发者

SSIS Excel Source connection and setting of package variable

开发者 https://www.devze.com 2023-03-06 01:03 出处:网络
Newbie to SSIS.I want to read an Excel spreadsheet, ge开发者_Go百科t a value, assign it to a package variable, and then use the variable in a SQL statement.I can read the excel and get the value, cann

Newbie to SSIS. I want to read an Excel spreadsheet, ge开发者_Go百科t a value, assign it to a package variable, and then use the variable in a SQL statement. I can read the excel and get the value, cannot figure out how to put the value into a variable (from the Excel source) so the SQL will run.


Easiest thing would probably be to have the excel source point to a RecordSet Destination. You can then Foreach-loop the object holding the recordset and extract the value(s) you want to work with that originated from Excel.

0

精彩评论

暂无评论...
验证码 换一张
取 消