Subject | Re: [ib-support] Re: error in trigger |
---|---|
Author | Milan Babuskov |
Post date | 2003-01-04T13:36:30Z |
duilio_fos wrote:
Now, on to the real problem:
I guess that primary key for table bl_hd is (y_mov, n_mov), is it?
Have you checked how many rows this select returns?
Milan.
> a sum that returns multiple rows ?I'm really sorry about that, didn't read carefully.
>
> Are you kidding ?
>
> Please read carefully my original post then, if you want or can, come
> back with a more helpful answer.
Now, on to the real problem:
> select /* 1 */Instead of answers I have some questions:
> n_doc,
> d_doc,
> serie,
> d_mag,
> cod_age,
> cod_dst
> from bl_hd
> where bl_hd.y_mov=bl_lt.y_mov and bl_hd.n_mov=bl_lt.n_mov
> into
> :n_doc,
> :d_doc,
> :serie,
> :d_mag,
> :cod_age,
> :cod_dst;
I guess that primary key for table bl_hd is (y_mov, n_mov), is it?
Have you checked how many rows this select returns?
Milan.