dbTalk Databases Forums  

NEWBIE: Getting the number of rows from a select

comp.database.oracle comp.database.oracle


Discuss NEWBIE: Getting the number of rows from a select in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lorenzo Thurman
 
Posts: n/a

Default NEWBIE: Getting the number of rows from a select - 11-01-2006 , 04:22 PM






How is this done in Oracle? Do I have to fetch all records and get the
count from that or is there a better way?

Reply With Quote
  #2  
Old   
Jim Kennedy
 
Posts: n/a

Default Re: NEWBIE: Getting the number of rows from a select - 11-01-2006 , 10:21 PM







"Lorenzo Thurman" <lorenzo (AT) diespammerhethurmans (DOT) com> wrote

Quote:
How is this done in Oracle? Do I have to fetch all records and get the
count from that or is there a better way?
Yes, fetch the records.
Jim




Reply With Quote
  #3  
Old   
Thijs
 
Posts: n/a

Default Re: NEWBIE: Getting the number of rows from a select - 11-02-2006 , 04:38 AM



Quote:
How is this done in Oracle? Do I have to fetch all records and get the
count from that or is there a better way?
?

select count(*) from... ?




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.