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 -> PL/SQL cursor : from VARIABLE

PL/SQL cursor : from VARIABLE

From: <ulysse51_at_my-deja.com>
Date: Tue, 14 Dec 1999 10:40:07 GMT
Message-ID: <8356q7$qu6$1@nnrp1.deja.com>


hi all

in PL/SQL, i want to declare a cursor
where the table name is a variable like

cursor rec (table_name in varchar2) is
  select *
  from table_name;

but it doesn't work
thank you for your help
FRED Sent via Deja.com http://www.deja.com/
Before you buy. Received on Tue Dec 14 1999 - 04:40:07 CST

Original text of this message

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