Subject | Re: [firebird-support] insert from select in psql |
---|---|
Author | Ann Harrison |
Post date | 2013-07-30T20:06:50Z |
W O <sistemas2000profesional@...> wrote:
Good luck,
Ann
> If the tables have always the same name you don't need the EXECUTE STATEMENTThe execute statement form works better if the format of the tables is volatile. You avoid the "object in use" error if the procedure has been compiled.
>
>>
>>
>> I found a simple solution:
>>
>> EXECUTE STATEMENT 'insert into A select * from B';
>>
Good luck,
Ann