Re: oracle: get number of rows from a select statement

From: Date: Mon, 11 Sep 2000 18:31:23 +0000
Subject: Re: oracle: get number of rows from a select statement
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-2803@lists.php.net to get a copy of this message
On Mon, Sep 11, 2000 at 06:07:47PM +0100, Peter Van Dijck wrote: > as in mysql_num_rows($resultset) > how do you get the number of rows from a select statement in oracle? you don't - oracle does not provide this information. try to live without it as all workign solutions have to a) read the whole cursor -or- b) do a select count()... first. tc > Peter > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.db (#2803) next »