How to get the sid and serial# of this session
Editor to share with you how to get the sid and serial#, of this session, I believe most people don't know much about it, so share this article for your reference. I hope you can learn a lot after reading this article, so let's learn about it!
After testing the following script, it is more accurate.
Select to_number (substrb (dbms_session.unique_session_id, 1,4), 'xxxx') sid
To_number (substrb (dbms_session.unique_session_id, 5,4), 'xxxx') audsid
From dual
The above is all the contents of the article "how to get the sid and serial# of this session". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!