Subject | Re: [firebird-support] INSERT TABLE INTO DIFFERENT DATABASE GDB |
---|---|
Author | Alexandre Benson Smith |
Post date | 2008-02-17T22:33:50Z |
Allies Xposs wrote:
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
> I HAVE 2 DATABASEUse prepared statements.
> 1. MYOFF.GDB
> A. TABLE : MYSS08
>
> 2. MYXPOSS.GDB
> A. TABLE : MYSS
>
> HOW CAN I INSERT FROM MYXPOSS-MYSS TO MYOFF-MYY08??
> (SQL COMMAND)
>
> I DEVELOP WITH CLIENTDATASET:
>
> sOURCE :
>
> WHILE NOT IBCLIENTDATASET.EOF DO
> BEGIN
> // IM USE SQLCOMMAND
> IBQUERY.CLOSE;
> IBQUERY.SQL.CLEAR;
> IBQUERY.SQL.ADD('INSERT INTO MYSS (P_TGL,P_ORD,......) VALUES ( IBCLIENTDATASET['P_TGL'],.......);
> IBQUERY.EXECSQL;
> IBCLIENTDATASET.DELETE;
> END;
>
> THATS SO SLOW.....1 RECORD NEED 1 SECOND TIME...
>
> HELP... GIVE ME A GOOD IDEA...
>
> THANKS....
> BES REGARD ALLIES
>
>
>
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br