I frequently encounter a situation in SSIS packages where I run a SQL Command to return a set of rows from an ADO connection. There are cases where I want to branch based on the number of rows returned. The ado resultset is stored in an SSIS 'object' datatype. Is there a way in SSIS expression or Script component to get that count of rows?
相关问题
- SQL Server Import Wizard doesn't support impor
- Bulk insert from excel to sql for selective fields
- What other dependencies do I need to install in Vi
- Need help in vba-excel and Sql query
- Deployed SSIS Package not reflecting changes made
相关文章
- SSIS solution on GIT?
- Is it possible to create a deadlock with read-only
- How can I manually fail a package in Integration S
- See complete tooltip error message for Data Flow S
- Save content of Email body in outlook to a file
- Delphi ADO with Excel 2010 or newer, problems with
- What is Big Data & What classifies as Big data? [c
- What is the actual use of buffer temp and blob tem
You can create a precedence Constraint after the Execute SQL Task to the object datatype variable, @[User::objectvariable]>0 as expression in precedence constraint. However in Execute SQL Task you will get resultset to the object variable.
Instead of using the Execute Sql task, use a dataflow task like this.
Then return to the control flow and continue as you planned, using the rowcount variable to branch your control flow.