Subject | Re: [firebird-support] Re: index unexpectedly deleted |
---|---|
Author | Lester Caine |
Post date | 2005-10-21T10:01:57Z |
Ali Gökçen wrote:
Of cause that works fine !
And since the ID is obtained from a single generator ticket_id never
matches appoint_id either ;)
But I'd still like to know why the update trigger is giving a problem ?
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.
> Hi Lester,Lateral thinking :)
> why don't you use this for cancel operations:
>
> TICKET_ID = - PRIMARY_KEY_ID;
>
> it will prevent any duplication and you can identify all canceled
> tickets by ticket_id<0. it is my favorite tecknique for cancelled
> rows.
Of cause that works fine !
And since the ID is obtained from a single generator ticket_id never
matches appoint_id either ;)
But I'd still like to know why the update trigger is giving a problem ?
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.