Re: Count items in reslutset?
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Thu, 24 Apr 2008 20:50:32 +0200
Donkey Hot wrote:
ResultSet rs ;
int count ;
....
count = rs.getInt(1) ;
One should probably add that this row count cannot be used to determine the number of rows of a subsequent SELECT statement that selects actual row data (not just the count) from the same table. Between the two SELECT statements the number of rows may have changed.
--
-----------------------------------------------------------------------
Dr. Uwe Seimet http://www.linkbylink.net/
.
- Follow-Ups:
- Re: Count items in reslutset?
- From: Lew
- Re: Count items in reslutset?
- References:
- Count items in reslutset?
- From: WJ
- Re: Count items in reslutset?
- From: Donkey Hot
- Count items in reslutset?
- Prev by Date: To be accurately described as a luxury watch one of the criteria would be that a true designer of great artistic abilities designed such a timepiece. This high quality designer has deftly crafted and shaped the watch's case so the resulting appearance is that of a beautiful accessory for any proud owners wardrobe. One of the most notable countries that produces such fine timepieces would be Switzerland.
- Next by Date: So you may wonder why there are even 10% mechanical watches still manufactured today. Mechanical watches tend to have a longer lifespan than quartz watches, and with the proper care and servicing can be handed down for generations. You will often find mechanical watches as collectibles that can build up a hefty price tag because of its rarity.
- Previous by thread: Re: Count items in reslutset?
- Next by thread: Re: Count items in reslutset?
- Index(es):