Subject Re: [ib-support] insert and select with Union
Author Doug Chamberlin
At 12/28/2002 06:37 PM (Saturday), Marco Menardi <mmenaz@...> wrote:
>insert into mytable (x,y,z)
>select a, b, c
>from Atable
>UNION
>select a, b, c
>from Btable

What is the reason you do not perform two separate INSERT statements? Try

insert into mytable (x,y,z)
select a, b, c
from Atable;

insert into mytable (x,y,z)
select a, b, c
from Btable;