Use UTL_FILE to read your .sql file, and then execute your sql-statements
using dynamic sql (DBMS_SQL or 'EXECUTE IMMEDIATE').

Igor Neyman, OCP DBA
Perceptron, Inc.
(734)414-4627
[EMAIL PROTECTED]


----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 2:50 AM


> Dear DBA Gurus,
>
> I have a .sql file which contains a series of insert statements.  I want
to
> call this .sql file and run it from a stored procedure.  Is it possible?
If
> so, how?
>
> Please post your answers to me directly as I am not receiving messages
> directly from the list rather I am able to send messages to the list.
>
> Thanks and Regards,
>
> Ranganath
>


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Igor Neyman
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to