Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: cursor
Hi,
what you want to count? The columns or the rows in a table.
If you want to count the rows in a table use "select count(*) from <table>".
If you want to know, how much columns are in a table you can ask the data dictionary:
select count(*)
from USER_TAB_COLUMNS
where Table_Name = '<YourTable>';
Hans-Gerd Sandhagen
s Lehaire wrote:
> HI,
> I would Like to know how to count my colums with a cursor.
> Or how can I count the number of rows into a table?
>
>
>
Received on Sat May 25 2002 - 06:00:36 CDT
![]() |
![]() |