Subject | Re: [firebird-support] Re: Locking a Table |
---|---|
Author | Ivan Prenosil |
Post date | 2005-12-14T07:53:46Z |
> What about the WITH LOCK clause of a select statement ?The original question was "how to lock table".
>
> I had never used it, neither think I will need it in the near future,
> but how does it differ from the transaction parameter ?
Transaction parameter locks tables (such that transaction will not start
until it obtains all requested locks first).
WITH LOCK locks rows.
Ivan