Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Executing SQL Statement in PL/SQL Block
Try using dynamic sql ( DBMS_SQL ). Check for the docu in the O7.1 PL/SQL
addendum.
Sridhar Subramaniam
Telstra Corporation
Sydney - Australia
Email : ssubrama_at_nibucorp.ccdn.otc.com.au
avion_at_ozemail.com.au
Dear Oraclities,
I would appreciate if any one could provide solution to the following
problem
:-
PROBLEM :
I want to run the contents of a variable declared in a PL/SQL block.
for example if a variable named TEST is of char TYPE and contains
the following text "DELETE BOOKS;" then this SQL statement must be
executed from within the PL/SQL block..
Received on Tue Jan 02 1996 - 01:31:41 CST
![]() |
![]() |