|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
JDBC help - RecordSet size
Hi All,
IS THERE A WAY TO GET THE SIZE OF THE RESULT SET. Iam trying to display record 1 of X(size of resultset) on my GUI. Any help will be greatly appreciated Thanks |
|
#2
|
||||
|
||||
|
First of all, let me say that this is a java question and should be posted in the "java servlets & jsp" forum.
Then, you have to check Sun's manuals for your Java version, here is the link for J2SE 1.3 and the related topics. Third, the most secure way to get the number of rows returned should be to issue a "SELECT COUNT ...", and then to issue the right "SELECT .." statement, because it's better to know in advance if your query returns too many values to be handled.
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) Understanding SQL Joins An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > JDBC help - RecordSet size |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|