Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

How to get a query row count

$
0
0

Hi there,

 

I'm trying to get the query row count from the rs array of the following xsjs code:

 

var conn = $.db.getConnection();
var pstmt = conn.prepareStatement( "select * from DUMMY" );
var rs = pstmt.executeQuery();

 

Is there a property or method to call and get the row count? Something like rs.length or rs.size.

 

Thanks a lot!

 

Alejandro Fonseca.


Viewing all articles
Browse latest Browse all 6412

Trending Articles