🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #2488

Re: [java] Totaal aantal records

#2488
From: Bart Vanbrabant
Date: Mon, 10 May 2004 22:54
19 lines
1843 bytes
Simonne De Ryck wrote:
> Hallo,
> 
> Ik haal via een select-query een aantal records op, waarna ik deze recordset
> gebruik.  Nu had ik graag willen weten of er een manier is om het totaal
> aantal records te weten, zonder dat ik de hele recordset moet overlopen.
> (een recordcount)
> 
> Alvast bedankt
> Els

Ik weet niet hoe je dit in java doet maar met het sql statement COUNT 
kan je toch het aantal records tellen, als je dan dezelfde where clause 
gebruikt dan weet je dit toch.

Bart
-- 
Bart Vanbrabant <bart DOT vanbrabant AD pandora DOT be>
PGP fingerprint: 093C BB84 17F6 3AA6 6D5E  FC4F 84E1 FED1 E426 64D1
Technical Details
Message-ID: <1084229692.338828@seven.kulnet.kuleuven.ac.be>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!193.190.198.58.MISMATCH!aotearoa.belnet.be!ikaria.belnet.be!news.belnet.be!not-for-mail
References: <409fd09d$0$22975$a0ced6e1@news.skynet.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,fb25f7415d56af9a
X-Google-Attributes: gidfcea4,public
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!193.190.198.58.MISMATCH!aotearoa.belnet.be!ikaria.belnet.be!news.belnet.be!not-for-mail
From: Bart Vanbrabant <bart@news.dd>
Newsgroups: be.comp.programming
Subject: Re: [java] Totaal aantal records
Date: Tue, 11 May 2004 00:54:52 +0200
Organization: KULeuvenNet
Lines: 19
Message-ID: <1084229692.338828@seven.kulnet.kuleuven.ac.be>
References: <409fd09d$0$22975$a0ced6e1@news.skynet.be>
NNTP-Posting-Host: seven.kulnet.kuleuven.ac.be
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: ikaria.belnet.be 1084229692 25858 134.58.127.12 (10 May 2004 22:54:52 GMT)
X-Complaints-To: abuse@belnet.be
NNTP-Posting-Date: Mon, 10 May 2004 22:54:52 +0000 (UTC)
User-Agent: Mozilla Thunderbird 0.5 (X11/20040404)
X-Accept-Language: en-us, en
In-Reply-To: <409fd09d$0$22975$a0ced6e1@news.skynet.be>
Cache-Post-Path: seven.kulnet.kuleuven.ac.be!unknown@bse.kotnet.org
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)