Subject Re: [firebird-support] Re: Locking a Table
Author Ivan Prenosil
> 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".

And afaik the order of parameters is fixed, and should be

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