Dynamic SQL in Stored procudures
Hi
I want to create dynamic SQL in stored procedures. Is that not supported?
I tried a very simple test and couldn't get i working:
DECLARE X VARCHAR (199);
SET X = 'INSERT INTO LOGG SELECT PFILE_Filename FROM PFILE_FILE';
??? X
I tried with Execute X......
Another question. Is it possible to invoke LOAD DATA INFILE.. within a Stored procedure, I couldn't get that working either.
/Henrik Mahlberg
Subject
Written By
Posted
Dynamic SQL in Stored procudures
October 07, 2004 12:58PM
November 08, 2004 01:48PM
November 08, 2004 01:57PM
November 18, 2004 10:56AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.