dbTalk Databases Forums  

sqlplus variables

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss sqlplus variables in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
geos
 
Posts: n/a

Default sqlplus variables - 09-29-2011 , 04:54 PM






I can define user variable in sqlplus using DEFINE keyword. it gets lost
from memory with UNDEFINE keyword.

is there a way to do the same, ie. free memory, for sqlplus variables
declared with VAR(iable) keyword?

thanks
geos

Reply With Quote
  #2  
Old   
ddf
 
Posts: n/a

Default Re: sqlplus variables - 09-30-2011 , 12:46 PM






On Sep 29, 2:54*pm, geos <g... (AT) nowhere (DOT) invalid> wrote:
Quote:
I can define user variable in sqlplus using DEFINE keyword. it gets lost
from memory with UNDEFINE keyword.

is there a way to do the same, ie. free memory, for sqlplus variables
declared with VAR(iable) keyword?

thanks
geos
Not that I know of; why is it of concern?


David Fitzjarrell

Reply With Quote
  #3  
Old   
geos
 
Posts: n/a

Default Re: sqlplus variables - 09-30-2011 , 01:37 PM



ddf wrote:
Quote:
is there a way to do the same, ie. free memory, for sqlplus variables
declared with VAR(iable) keyword?

Not that I know of; why is it of concern?
thanks David. it's just for learning/understanding purposes.

cheers,
geos

Reply With Quote
  #4  
Old   
Mark D Powell
 
Posts: n/a

Default Re: sqlplus variables - 10-04-2011 , 08:13 AM



On Sep 30, 2:37*pm, geos <g... (AT) nowhere (DOT) invalid> wrote:
Quote:
ddf wrote:
is there a way to do the same, ie. free memory, for sqlplus variables
declared with VAR(iable) keyword?

Not that I know of; why is it of concern?

thanks David. it's just for learning/understanding purposes.

cheers,
geos
Goes, while like David I know of no way to free memory held by SQLPlus
variables other than closing the session I do know a way to free the
PGA memory held by pl/sql collections (pl/sql arrays and type tables)
via dbms_session.free_unused_user_memory. This might be of interest
to you.

HTH -- Mark D Powell --

Reply With Quote
  #5  
Old   
geos
 
Posts: n/a

Default Re: sqlplus variables - 10-05-2011 , 01:43 PM



Mark D Powell wrote:
Quote:
Goes, while like David I know of no way to free memory held by SQLPlus
variables other than closing the session I do know a way to free the
PGA memory held by pl/sql collections (pl/sql arrays and type tables)
via dbms_session.free_unused_user_memory. This might be of interest
to you.
Mark, many thanks, I wasn't aware of this possibility.

cheers,
geos

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.