![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
“GiUpdateRowCount” Global Variable Created DTS package Update TableName From TableName2 Where TableName.Col1 = TableName2.Col1 SELECT @@Rowcount AS UpdateRowCount Above Query is used in Execute SQL Task Once I execute the Execute SQL Task, UpdateRowCount value should pass to Global variable GiUpdateRowCount, but It’s not passing to Global variable can you gays tell me how to get this from this task. Thanks for providing solution |
#3
| |||
| |||
|
|
Hello Rajesha, “GiUpdateRowCount” Global Variable Created DTS package Update TableName From TableName2 Where TableName.Col1 = TableName2.Col1 SELECT @@Rowcount AS UpdateRowCount Above Query is used in Execute SQL Task Once I execute the Execute SQL Task, UpdateRowCount value should pass to Global variable GiUpdateRowCount, but It’s not passing to Global variable can you gays tell me how to get this from this task. Thanks for providing solution I assume you have set the output variable options. Try adding SET NOCOUNT ON at the top of the SQL. |
![]() |
| Thread Tools | |
| Display Modes | |
| |