Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

save sqlplus setting and restore settings.

user8363520Aug 3 2011 — edited Aug 3 2011
hello all,


how do i store display setting for certain sqlplus session and reset it back to wat it was....
so lets say i login to a sqlplus session

sqlplus scott/tiger@orcl
set lines 500
set pages 999
select * from emp;
exit;


now my question is, as i am changin all those setting (and obviously they defaulted to something to begin with...lets say lines to 80 and pages to 100)...how do i store that thing to begin with and then change my setting to lines 500 etc...and then once i am done before exiting restore the settings....
This post has been answered by BPeaslandDBA on Aug 3 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2011
Added on Aug 3 2011
5 comments
3,267 views