Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Remove DBMS_LOCK Locks

Re: Remove DBMS_LOCK Locks

From: <sybrandb_at_hccnet.nl>
Date: Wed, 20 Jun 2007 21:11:52 +0200
Message-ID: <mtui7398pubtofugrmvvm3aqf9o3d9hus0@4ax.com>


On Wed, 20 Jun 2007 15:01:23 -0400, "klabu" <klabu_at_mailinator.com> wrote:

>10gR2
>
>there're many many records in "dbms_lock_allocated" from my previous
>testing, and I recognize the names
>I know they're useless now
>
>If they can/should be removed, how to do it ?
>
>DBMS_LOCK.RELEASE(<lockid>) ;
>returns " Parameter error"
>
>
>SQL> desc sys.dbms_lock_allocated
>Name Type Nullable Default Comments
>---------- ------------- -------- ------- --------
>NAME VARCHAR2(128)
>LOCKID INTEGER Y
>EXPIRATION DATE Y
>
>
>thanks
>

From your post it is unclear how you are calling dbms_lock.release. You didn't type *litterally*
exec dbms_lock.release(<lockid>);
did you?

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Wed Jun 20 2007 - 14:11:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US