DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: sql command $PATH ???

  1. #1
    Join Date
    Nov 2000
    Posts
    89
    Oracle People:

    I've worked a lot with Unix and obviously understand that you can set the PATH so that unix knows where to look for executables. How do you set the PATH in SQLPLUS> so that I don't have to list the direct path to my *.sql scripts or place them in $ORACLE_HOME where SQLPLUS can currently execute them without the full path name ? $ORACLE_HOME is the only current place that sqlplus finds them without the full path.

    THANX-

    Roger

  2. #2
    Join Date
    Nov 2000
    Posts
    89
    By the way ...

    I realize that the PATH is set by the dir you are in when you login to SQLPLUS/SRVMGRL. I'm talking about multiple paths or a path that is different than that of you home/login.

    -Roger

  3. #3
    Join Date
    Nov 2000
    Posts
    89
    I found a fix for this on the newsgroups:

    Simply set the SQLPATH in your oracle user .profile. You don't hear too much about that variable because it's set default to ORACLE_HOME & ORACLE_HOME/dbs.

    -Roger

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width