Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: login.sql search path?

Re: login.sql search path?

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Fri, 19 Jan 2001 16:38:22 -0000
Message-ID: <979922132.6295.0.nnrp-14.9e984b29@news.demon.co.uk>

A couple of extras:

SQL*Plus first executes

    $ORACLE_HOME/sqlplus/admin/glogin.sql

Then searches the SQLPATH until it finds a login.sql and executes it. (it stops after the first one). You can specify multiple paths by using a ';' as a separator, e.g.

export SQLPATH=${HOME};.;/u02/app/my_app/scripts/sql

--
Jonathan Lewis
Yet another Oracle-related web site:  http://www.jlcomp.demon.co.uk

Practical Oracle 8i:  Building Efficient Databases

Publishers:  Addison-Wesley
See a first review at:
http://www.ixora.com.au/resources/index.htm#practical_8i
More reviews at: http://www.jlcomp.demon.co.uk/book_rev.html



Doug O'Leary wrote in message

>Hey;
>
>Aint that amazing; you post a question, do a little more searching
>and find the answer.
>
>export SQLPATH=${HOME}
>
>does wonders.
>
>Doug
>
>--
>------------------------
>Douglas K. O'Leary
>Senior System Administrator
>dkoleary_at_mediaone.net
Received on Fri Jan 19 2001 - 10:38:22 CST

Original text of this message

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