cancel
Showing results for 
Search instead for 
Did you mean: 

Number of rows retured in select statament

venky_b
Participant
0 Kudos

I want know how many number rows are retrieved from the select statement in jdbc adapter

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (3)

Answers (3)

santhosh_kumarv
Active Contributor
0 Kudos

Hi Venkatesh,

>>I want know how many number rows are retrieved from the select statement in jdbc adapter

It depends upon the query condition and the data in the database.

If your requirement to to count the records then u can map the node to count standart function.

Input node -


> remove context -


> count -


> output node.

noe your output node will have the no of records/message of the input node.

Hope this help...

Regards

San

udo_martens
Active Contributor
0 Kudos

Hi venkatesh,

you can get that in the mapping. Message Mapping: use standard function count, XSLT: use XPath function count(//row).

Regards,

Udo

former_member192892
Active Contributor
0 Kudos

If you want the count, then you can use the standard function count with the source tag row

Former Member
0 Kudos

Hi

It can access n numbers of rows depends on the condition and the no. of coloumns..a if u are fetching milions of rows at a time then it become a huge messag in the XI...

Thanks

Farooq.