numrows

From: Ricardo Javier Aranibar León <ricardo_jal(at)hotmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: numrows
Date: 2002-12-19 22:04:04
Message-ID: F134IZuSTOk0gaPElyq00006d67@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-12-19 23:59:26 Re: numrows
Previous Message Barry Lind 2002-12-19 18:20:40 Re: error when using move, any suggestions?