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: PL/SQL naming a table

Re: PL/SQL naming a table

From: Kenneth C Stahl <BluesSax_at_Unforgettable.com>
Date: Mon, 23 Aug 1999 08:23:21 -0400
Message-ID: <37C13D39.ECD7417F@Unforgettable.com>


You will need to use dynamic pl/sql. Should be pretty simple. All you'd change each time is the actual table name.

Ken

Roberto Diaz wrote:

> Hi!
>
> Just i would like to know how to make a simple procedure to count the rows
> of any table..
>
> something like this:(but well-formed)
>
> create procedure contar (tabla IN varchar2)
> AS
> BEGIN
> select count(*) from tabla;
> END contar;
Received on Mon Aug 23 1999 - 07:23:21 CDT

Original text of this message

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