numrows - Mailing list pgsql-jdbc

From Ricardo Javier Aranibar León
Subject numrows
Date
Msg-id F134IZuSTOk0gaPElyq00006d67@hotmail.com
Whole thread Raw
Responses Re: numrows  (Dave Cramer <Dave@micro-automation.net>)
List pgsql-jdbc
Hi list,

How I can figure out the number of rows from the query?
For example:
String q1= "Select * from user where id=3";
PreparedStatement ps = conex.prepareStatement(q1);
ResultSet rs = ps.executeQuery();

//Now how i can to know the number of rows from select?

REgards,
Ricardo




_________________________________________________________________
MSN Fotos: la forma más fácil de compartir e imprimir fotos.
http://photos.msn.es/support/worldwide.aspx


pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: error when using move, any suggestions?
Next
From: Dave Cramer
Date:
Subject: Re: numrows