Subject | RE: [firebird-support] INSERT Multiple Rows same SQL Statment |
---|---|
Author | Sasha Matijasic |
Post date | 2008-09-24T15:45:36Z |
>Those are constants. Something like this:
> >I think it's easier like this:
> >insert into table_ (field1, field2)
> >select val1_1, val2_1 from rdb$database union all
> >...
> >select val1_2, val2_2 from rdb$database;
>
> Agree, as far as you have the tables with the source data.
>
insert into ...
select 'foo', 42 from rdb$database ...
Sasha