0

I have a SQL Executable task in which I am checking the count(*) of records in a particular table.

select count(*) as Is_Data from TABLE_NAME;

I need to get the Is_Data value out as an expression, so that based on the value the next execution start.

How to get the Is_Data value out from SQL Executable task

Thanksc

1 Answer 1

1

Set the ResultSet to single row:

enter image description here

Configure a variable on the Result Set tab. This variable can then be used in subsequent tasks:

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.