rati todua, November 28, 2016 - 11:57 am UTC
maa man. thanks for the answer and script.
"You could also use it to store session specific information..."
where or how can i find this session specific information?
November 28, 2016 - 5:58 pm UTC
It's whatever you want! I was just referring to data that is only relevant to your session. e.g. if you have a process that creates a data set you later use for further processing.
rati todua, November 28, 2016 - 12:50 pm UTC
i just executed select:
select to_number(substr(dbms_session.unique_session_id,1,4),'XXXXXXXXX' )from dual
and realized that
dbms_session.unique_session_id from
is same as sid.
should have guessed it by name, my bad...
it is clear where and how i use sid to query information about table.
thanks again
November 28, 2016 - 5:59 pm UTC
It's not the same as sid, but that is a part of it.