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

Home -> Community -> Usenet -> c.d.o.server -> Using host variables with cursors

Using host variables with cursors

From: Blasting Bubbles <bblastingbubbles_at_hotmail.com>
Date: Sun, 24 Feb 2002 01:42:06 GMT
Message-ID: <OxXd8.7395$Ek1.894366@news-nb00s0.nbnet.nb.ca>


I'm trying to use a cursor like this...

Exec sql declare cursor for select * from :table_name;

but it gives me an error at :table_name. Is there a reason that I can't use a variable here? Is there another solution?

BB Received on Sat Feb 23 2002 - 19:42:06 CST

Original text of this message

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