Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Is it possible to save SQLplus settings ?
Franz wrote:
> Hi all,
> does anybody know if it's possible to save some settings of a SQLplus
> session (like "set linesize")
> maybe setting it as default ?
> Thanks a lot
> Franz
Check out ORACLE_HOME/sqlplus/admin (the slashes go the other way around on Windows, of course, but otherwise the directory is identical). There's a file in there called "glogin.sql". Make changes to that, such as pagesize and linesize, and every time you then log onto SQL*Plus, those settings will take effect.
You can over-ride the glogin.sql settings by creating a login.sql, too. If it's in the directory where you launch SQL*Plus from, then login.sql takes precedence over glogin.sql.
Regards
HJR
Received on Wed Oct 01 2003 - 06:34:25 CDT