cancel
Showing results for 
Search instead for 
Did you mean: 

Number of rows in the result of a sql fixed query

matthias_prller
Participant
0 Kudos

Hello,

just a little question: How can I find out in a transaction if a result of a fixed query is empty or not? Do I realy have to take a "repeater" action block and look for the itemcount or is there an easier way?

thank you

Matthias.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey Matthias,

Yes you can. You can do the following in the LinkEditor under Expression:

SQLActionblock.Results{count(/Rowsets/Rowset/Row)}

Regards

Pedro

agentry_src
Active Contributor
0 Kudos

Or

SQLActionblock.Results{boolean(/Rowsets/Rowset/Row)}

Mike

Answers (0)