我有一些變量(在包級別,在數據流級別,無所謂),我需要通過運行Execute Sql Task
加載它們。 我增加了一個Execute Sql Task
,我寫了我的sql語句在SqlStatement
,我已經將ForcedExecutionValueType
更改爲string
。 現在我希望當Execute Sql Task
被執行時,select返回的返回值成爲我的變量的確切值。如何從SSIS包中的「Execute Sql Task」加載變量
example:
Select employer_name from employers where id=1
Returs="John Doe"
value for @employer_name must be "John Doe"
任何提示?
我發現了艾倫米切爾最好的解釋。試試他的[鏈接](http://www.sqlis.com/sqlis/post/The-Execute-SQL-Task.aspx.JPG- -------------------------------------------------- ---------) – BogdanM 2013-03-14 13:32:39