I would say

select count(1) from yourtablename;


BR,
Sonty

On Jun 10, 9:15 pm, Michael Moore <michaeljmo...@gmail.com> wrote:
> select count(*) from yourtablename;
>
> regards,
> Mike
>
> On Wed, Jun 10, 2009 at 8:51 AM, Michael Lam <michael.y....@hotmail.com>wrote:
>
>
>
>
>
> > Hi all,
>
> > I am kinda new to Oracle. So, really appreicate your help!
>
> > I wonder what's the best way to retrieve the total number of record of
> > a table. I googled it for a while and someone mentioned that it was
> > discussed in google group before. Would you mind if you can give me
> > direction regarding this please?
>
> > thanks
> > Michael- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Oracle PL/SQL" group.
To post to this group, send email to Oracle-PLSQL@googlegroups.com
To unsubscribe from this group, send email to
oracle-plsql-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Oracle-PLSQL?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to