Menu

#20 only reads login.sql from the current directory

open
nobody
None
5
2004-02-25
2004-02-25
Anonymous
No

The login.sql initialization file only gets read if it's in the
current directory. It's as if the $HOME environment
variable is not getting read.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    OS: SunOS 5.8

     
  • Matthew Clarke

    Matthew Clarke - 2004-06-28

    Logged In: YES
    user_id=24619

    gqlplus does not read login.sql, SQL*Plus does. SQL*Plus
    looks for all SQL scripts, including login.sql, in the list
    of directories in the environment variable SQLPATH. If
    SQLPATH isn't set, then SQL*Plus looks in the current
    directory. If you want your login.sql read from $HOME, set
    $SQLPATH to the same thing as is found in $HOME before
    starting SQL*Plus (perhaps in .profile or equivalent.)

     

Log in to post a comment.

Monday.com Logo