Home » SQL & PL/SQL » SQL & PL/SQL » PL/SQL Environment
PL/SQL Environment [message #36822] Sun, 23 December 2001 21:02 Go to next message
j.smith
Messages: 21
Registered: December 2001
Junior Member
I need to permentatly change the default environment for sqlplus.

i tried
set linesize 100
set pagewidth 20

i also tried:
the manual environment settings in sqlplus
COMMIT, EXIT

they all work for the user session,
but when i close the sqlplus program and logon again
they are set back to their default.

how do i change the environment so that evertime i log back into sqlplus, it keeps the environment i set?

Should run a script that loads evertime sqlplus loads? or is there a easier way?

please advise...

----------------------------------------------------------------------
Re: PL/SQL Environment [message #36823 is a reply to message #36822] Sun, 23 December 2001 21:31 Go to previous messageGo to next message
hnetscape
Messages: 30
Registered: December 2001
Location: India
Member

Hi,
Open file oracle_homeplus32glogin.sql and
add this
set linesize 100
set pagewidth 20
and save the file
and exit from sql and reload then it will set it.

Hope this will help you.

Balraj.

----------------------------------------------------------------------
Re: PL/SQL Environment [message #36841 is a reply to message #36823] Wed, 26 December 2001 02:54 Go to previous messageGo to next message
sara
Messages: 36
Registered: February 2000
Member
where can I find this file "oracle_homeplus32glogin.sql"

----------------------------------------------------------------------
Re: PL/SQL Environment [message #36846 is a reply to message #36841] Wed, 26 December 2001 18:42 Go to previous message
hnetscape
Messages: 30
Registered: December 2001
Location: India
Member

"oracle_home" is where your oracle installed that directory

----------------------------------------------------------------------
Previous Topic: Re: How to Retrieve CLOB withADODB Command Parameter...?
Next Topic: Re: Confuse with arrays.
Goto Forum:
  


Current Time: Wed Dec 25 09:58:49 CST 2024