Subject | RE: [firebird-support] Re: Copy records |
---|---|
Author | Planles |
Post date | 2004-08-05T13:48:34Z |
I still have troubles with the folowing:
keys.
What should I change to get it work properly ?
Regards,
Primoz
> I have one problem. Here is exactly what I put in dataset:Maybe I should tell before, that both MC_MAT_KEY and MC_MAT_KC are primary
>
> INSERT INTO MATCONTI (MC_MAT_KEY, MC_MAT_KC, MC_QTY)
> SELECT 'new_key', M2.MC_MAT_KC, M2.MC_QTY
> FROM MATCONTI M2
> WHERE M2.MC_MAT_KEY = 'old_key'
>
> After ExecSQL I get an error message:
>
> Violation of PRIMARY or UNIQUE KEY constraints "INTEG_94" on table
> "MATCONTI"
keys.
What should I change to get it work properly ?
Regards,
Primoz