Thread: Copy to another server

Copy to another server

From
"Sistemas C.M.P."
Date:
I need to select a group of records in one table, and then copy this group to similar table in another database and another server.
How can I do this? 

Re: Copy to another server

From
Bruno Wolff III
Date:
On Fri, Sep 29, 2006 at 10:41:33 -0300,
  "Sistemas C.M.P." <sistemascmp@redynet4.com.ar> wrote:
> I need to select a group of records in one table, and then copy this group to similar table in another database and
anotherserver. 
> How can I do this?

Long at using the dblink contrib module. If that isn't available
to you, then you can select the data into a temp table and use copy
to produce csv output (in 8.2 you will be able to skip the temp table
step) and then import the csv file into the other database.