Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL*Plus Saving Environment?
Instead of playing with the GLOGIN.SQL file (which affects all SQL*Plus
users), why don't you create a LOGIN.SQL file which will get executed
when you start SQL*Plus. In order for SQL*Plus to find the LOGIN.SQL
file, you must set up the SQLPATH environment variable. In NT, it's in
the registry. In Unix, it's an environment variable. Make sure that the
directory that the LOGIN.SQL file resides is in the SQLPATH.
HTH,
Brian
Georg Schulte Althoff wrote:
>
> Thank you for this documentation. This is very good to save the whole
> setting.
> The only thing I'm still missing is how to execute the resulting file
> automatically
> at every start of SQL*Plus.
>
> Is there nothing like a "autoexec" at the start of SQL*Plus?
>
> Georg
Received on Thu Jan 13 2000 - 07:58:00 CST
![]() |
![]() |