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_at_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

  _at_<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 - 20:00:30 CEST

Original text of this message