on 10-04-2007 12:19 PM
I want know how many number rows are retrieved from the select statement in jdbc adapter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi venkatesh,
you can get that in the mapping. Message Mapping: use standard function count, XSLT: use XPath function count(//row).
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want the count, then you can use the standard function count with the source tag row
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.