If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > sql * plus settings

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-15-10, 02:18
subhotech subhotech is offline
Registered User
 
Join Date: Jan 2010
Posts: 51
Question sql * plus settings

Hi ,

Whenever i am opeening my sq; * plus session i have to set the below mentioned variables in order to use it comfortably :-
set linesize 30000
set pagesize 30000
set sqlprompt PRODA>

but rather typing it everytime i open a new sesion i have created a sql file having these settings and i am openning the file using the editor but it is not changing the settings.

PFA the screenshot.

Please advice

Subhotech
Attached Thumbnails
sql * plus settings-sql_plus.jpg  
Reply With Quote
  #2 (permalink)  
Old 09-15-10, 02:30
Littlefoot Littlefoot is offline
Lost Boy
 
Join Date: Jan 2004
Location: Croatia, Europe
Posts: 3,629
Put all those settings into a LOGIN.SQL file (which should be in a directory you use when connecting to SQL*Plus). Alternatively, to use it always, create a GLOGIN.SQL file ("global") (it should be located in your ORACLE_HOME\SQLPLUS\ADMIN directory).

Google for more information.
Reply With Quote
  #3 (permalink)  
Old 09-15-10, 03:15
subhotech subhotech is offline
Registered User
 
Join Date: Jan 2010
Posts: 51
Thanks for the help !!

Thanks! for the info ....i did some google found some more info..
Actually i am working on a remote machine and i dont have access to Oracle installation directory.i.e ADMIN etc
So i have stored the current setting into a file using STORE SET FILE_NAME which stores all the env variables and then i modiefied the variables . On logging to a new session i can use START FILE_NAME TO use the new settings.
Reply With Quote
  #4 (permalink)  
Old 09-15-10, 03:40
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
Quote:
Originally Posted by subhotech View Post
Thanks! for the info ....i did some google found some more info..
Actually i am working on a remote machine and i dont have access to Oracle installation directory.i.e ADMIN etc
You don't need access to the Oracle installation.

login.sql is stored locally on your computer where you run SQL*Plus

See the manual for details

http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch2.htm#sthref410
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On