Quantcast
Channel: CodeSection,代码区,SQL Server(mssql)数据库 技术分享 - CodeSec
Viewing all articles
Browse latest Browse all 3160

SSIS Script Task Read Write Variable

$
0
0
This post I wanted to post for quite a while but keep forgetting. In order to use Variable in SSIS Script Task there is no Intellisense. You have to remember the exact syntax for it. Very first you need to choose the Read/Write variable from Script Task Editor.
SSIS Script Task Read Write Variable
To read the value
string strSource = Dts.Variables[ “User::varOraSource” ].Value.ToString();
To write the value.
Dts.Variables[ “User::varOraSource” ].Value = strSourceFinal;

Viewing all articles
Browse latest Browse all 3160