Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SQL Task Successful but does not move to the next task even after evaluating expression.

$
0
0

Hello everyone:

I am trying to run a particular task only when there are available records in a table.


I have a Task containing a simple SQL Statement, like this:

SELECT COUNT(UserID) AS RecordCount
FROM  CX.Tracking
WHERE TrackingDate > DATEADD(MI, - 1, GETDATE())


I created a local variable with Scope of Project as follows and here is the rest of the setup:



The task runs fine but it does not got to the next task.

Can someone please tell me why or provide me some explanation to fix this?

Thank my friends.



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>