Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Row-Count in PL/SQL

Re: Row-Count in PL/SQL

From: Rene Nyffenegger <rene.nyffenegger_at_gmx.ch>
Date: 15 Jan 2004 23:32:22 GMT
Message-ID: <bu77u2$ejpeh$1@ID-82536.news.uni-berlin.de>

> Hi,
>
> IŽd like to count table-rows in PL/SQL.
> The tablename comes from a variable. Something like:
>
> SELECT COUNT(*) INTO V_ROWS
> FROM V_TABLE_NAME;
>
> I still get the same error message:
> "V_TABLE_NAME must be declared"
>
> But V_TABLE_NAME is declared in my
> CURSOR-SELECT-Statement.
>
> Thanks for all suggestions.
>
> O.Braun

This could be a typical ORA-00942 error.

If this is the case, check
http://www.adp-gmbh.ch/ora/err/ora_00942.html

hth
Rene

-- 
  Rene Nyffenegger
  http://www.adp-gmbh.ch
Received on Thu Jan 15 2004 - 17:32:22 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US