ST locks
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: ST locks

  1. #1
    Join Date
    Apr 2000
    Posts
    126

    Question

    How can you determine if you have ST locks?

  2. #2
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    Code:
         SELECT * FROM dba_locks
          WHERE lock_type IN ('ST');
    or

    Code:
             SELECT * FROM v$locked_object
             WHERE EXISTS ( SELECT session_id FROM dba_locks
                                                          WHERE    lock_type IN ('ST')
                                                               AND v$locked_object.session_id  = dba_locks.session_id);
    Sam


    [Edited by sambavan on 11-30-2001 at 02:44 PM]
    Thanx
    Sam



    Life is a journey, not a destination!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width