Subject | Re: [firebird-support] update or insert inside a stored procedure |
---|---|
Author | Mark Rotteveel |
Post date | 2018-10-31T16:36:22Z |
On 31-10-2018 17:05, Issam Boughanmi amigoface@...
[firebird-support] wrote:
of vInum + ancode already exists.
Mark
--
Mark Rotteveel
[firebird-support] wrote:
>Yes, but you don't take into account the situation where the combination
>
> @Karol :
>
> there is 3 fields :
> v*A*num : primar key
> vInum + ancode : composite unique index .
>
> this is a little wierd to me :
> if the matching is based on the primary key , normally on the execution
> when the record is found it will update right and not insert a new one?
of vInum + ancode already exists.
> also like i said if i run this same query as a standalone outside the SPPlease provide a reproducible example.
> it run fine ..
Mark
--
Mark Rotteveel