I would appreciate if I could script my statements in a very basic way. I would like to achieve something like.
select count(*) from SOME_QUERY; @IF_RECORD_NUMBER_OF_LAST_QUERY_RESULT_SET_EQUALS_TO_0 @STOP @EXPORT ....
Yes, we've had a few requests for this in the past. I will register a feature request to add your vote to the count.