Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Help
User Oracle dynamic SQL utility.
DBMS_SQL if 7.3 or 8.0
EXECUTE IMMEDIATE if 8.1 (8i)
Paul wrote:
> I'm running Oracle 8.
>
> I wish to execute an SQL command that is stored in a table in PL/SQL.
>
> So, for example, take a table called COMMANDS
>
> COMMANDS
>
> Command Other Data....
> select * from TABLE ....
>
> The SQL command "select * from TABLE" is stored in the column Command. I
> want to retrieve this command and execute it.
>
> Can I do the whole thing in PL/SQL?
>
> Thanks
>
> Paul
Received on Sat Jul 10 1999 - 10:10:11 CDT
![]() |
![]() |