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 -> Re: Novice: Loading Stored Procedure

Re: Novice: Loading Stored Procedure

From: Rene Nyffenegger <rene.nyffenegger_at_gmx.ch>
Date: 22 Apr 2003 18:00:30 GMT
Message-ID: <b83vvu$62op7$2@ID-82536.news.dfncis.de>

> How do you load a Stored Procedure into the Oracle environment? Currently, the
> only way I go about doing this is copy/paste my PL/SQL code from a text file
> into the SQLPLUS prompts. From my basic Oracle knowledge, I thought there was
> a way for Oracle to load up an <file>.sql into it the environment. Then I
> could run "EXECUTE <procedure name>" from a command line and/or UNIX script.

In SQLPLUS, type

  @<file>.sql

in order to load (execute) the contents of <file>.sql

hth
Rene Nyffenegger

-- 
  Projektleitung und Entwicklung in Oracle/C++/C# Projekten
  http://www.adp-gmbh.ch/cv.html
Received on Tue Apr 22 2003 - 13:00:30 CDT

Original text of this message

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