Subject Re: [firebird-support] Re: Locking a Table
Author Dimitry Sibiryakov
On 12 Dec 2005 at 21:12, kapsee wrote:

>I used the TPB given in the doc.

Docs have two examples and one is wrong. Unfortunatelly, you picked
up wrong one.

>isc_tpb_protected, isc_tpb_lock_read, "COUNTRY",
>isc_tpb_protected, isc_tpb_lock_write, "EMPLOYEE"};
>
>Any idea what the correct TPB format is ?

...isc_tpb_lock_write, 8, 'E','M','P','L','O','Y','E','E'...

Here "8" is length of "EMPLOYEE".

--
SY, Dimitry Sibiryakov.