Re: ayuda con copy

From: "Agustin Casiva" <casivaagustin(at)gmail(dot)com>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: ayuda con copy
Date: 2007-10-16 16:40:52
Message-ID: 646eb5870710160940l58a81463o71ee4fe532678b6c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On 10/16/07, MIGUEL CANCHAS <mcanchas(at)tsr(dot)com(dot)pe> wrote:
>
> Estoy intentando usar el COPY
>
> -- ME CONECTO A MI BASE DE DATOS SIG
> template1-# \c SIG
> You are now connected to database "SIG".
>
> -- ME LOGRO CONECTAR
>
> -- HAGO EL COPY
> SIG-# copy fo from 'c:\voucher.txt'
>

prueba con

copy fo from 'c:\voucher.txt' DELIMITER by '\t' ;

No te olvides de poner el punto y coma al final, es una instrucción SQL. ;)

Saludos

--
Agustin
Casiva
http://www.osis.com.ar
casivaagustin(at)gmail(dot)com
http://www.casivaagustin.com.ar

Para leer adjuntos necesitará Open Office
http://es.openoffice.org/programa/

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message MIGUEL CANCHAS 2007-10-16 16:44:55 RE: ayuda con copy
Previous Message Miguel Rodríguez Penabad 2007-10-16 16:38:57 Re: ayuda con copy