Subject RE: [firebird-support] get_lock / release_lock
Author Doru Constantin
This in the link to the my Sql online manual:

It is like a flag that can be seen by any user.


-----Original Message-----
[] On Behalf Of Alexandre Benson
Sent: 31 iulie 2008 09:20
Subject: Re: [firebird-support] get_lock / release_lock

Doru Constantin wrote:
> How can I simulate mySql get_lock / release_lock in firebirdSql?
> Thank you.
> Doru

I don't know what get_lock/release_lock do... it's a kind of pessimistic
record locking ?

if so... my first question is.. Do you really want to do this ???

If so... use select for update, or do a dummy update on the record, to
prevent it to be updated by another transaction.

see you !

Alexandre Benson Smith
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil



Visit and click the Resources item
on the main (top) menu. Try Knowledgebase and FAQ links !

Also search the knowledgebases at

Yahoo! Groups Links