Prepare for your Next Interview
This is a discussion on How do I get the session id of particular package within the Oracle forums, part of the Databases category; I face some problem regarding oracle package execution. One of the currently running package has locked some table. So I want to kill the session. How do I get the ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
How do I get the session id of particular package
I face some problem regarding oracle package execution. One of the currently running package has locked some table. So I want to kill the session. How do I get the session id of particular currently running package.
|
| The Following User Says Thank You to ssusmitaa For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: How do I get the session id of particular package
The DBA option in TOAD can help you on this. Here you can view each and every details of a particular session. For further details let me know.
|
|
|||
|
Re: How do I get the session id of particular package
Quote:
U have to use the dynamic views to resolve this problem. U can find the information abt the query package by v$sql or v$sqltext view. There it shows which session is executing that package. Based on which query ur v$session to identify the username , serial# and the sid with which u can kil that session. Hope this helps.. Balasubramanian.J |
|
|||
|
Re: How do I get the session id of particular package
You can get the session id of particular currently running package.
But that session id is not of the package ,but of the user who is executing it. |
|
|||
|
Re: How do I get the session id of particular package
You can find the session sid and other info from this query.
select sid , serial#, username , osuser, machine , status, program, module from v$SESSION |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SQL Quiz Package (100 Questions) Free Download | admin | Downloads | 135 | 6 Days Ago 05:36 AM |
| Session Manager | Lokesh M | ASP.NET | 1 | 06-04-2008 09:52 AM |
| Oracle Package.function | Yajnas | Oracle | 2 | 06-25-2007 03:10 AM |
| Today's package includes both StarPort Professional which will allow you to create vi | JobHelper | Geeks Lounge | 0 | 02-19-2007 07:40 AM |
| Oracle package question | always_rgsm | Oracle | 5 | 01-23-2007 08:35 AM |