RE: Como insertar registros

From: "Esteban Osorio" <eosorio(at)economia(dot)cl>
To: <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: RE: Como insertar registros
Date: 2007-08-10 16:42:59
Message-ID: 5F3665C0E294BC43B3A635CA66D94B740226CC02@buzones.economia.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Utiliza el comando copy de postgres, con él puedes cargar un archivo .csv a una tabla.

Saludos,
Esteban Osorio Fuentes
Unidad de Informática
Fono 473 35 36

-----Mensaje original-----
De: pgsql-es-ayuda-owner(at)postgresql(dot)org [mailto:pgsql-es-ayuda-owner(at)postgresql(dot)org] En nombre de MIGUEL CANCHAS
Enviado el: Viernes, 10 de Agosto de 2007 12:34
Para: 'pgsql-es-ayuda(at)postgresql(dot)org'
Asunto: RE: [pgsql-es-ayuda] Como insertar registros

A ver, las tablas de VFP soportan varios billones de datos(no tengo la cifra
exacta), no tengo problemas con mis dbf´s, pero tengo una tabla con esos 13
millones, ya lo tengo en tipo CSV(separado por comas), como lo podria mandar
entonces ?

-----Mensaje original-----
De: Espartano [mailto:espartano(dot)mail(at)gmail(dot)com]
Enviado el: Viernes, 10 de Agosto de 2007 11:26 a.m.
Para: MIGUEL CANCHAS
CC: pgsql-es-ayuda(at)postgresql(dot)org
Asunto: Re: [pgsql-es-ayuda] Como insertar registros

El 10/08/07, Espartano <espartano(dot)mail(at)gmail(dot)com> escribió:
>
>
> http://dbf.berlios.de/
>
> y por ahi dice algo asi:
>
> "dbf is an easy-to-use command line tool to show and convert the
> content of dBASE III, IV, and 5.0 files. It reads dBASE databases and
> prints the content to the screen or converts it to comma-separated
> (*.csv) files"
>
> ya solo tendrias que menter el archivo generado a postgres :)
>
>
> >
> >
> > uso WIN XP SP2, POSTGRESQL 8.0
> >

Ups no se si corra en windows, = y necesitaras pasar tus files a algun Unix
:p

> >
> > Gracias
> >

> --
> "Linux is for people who hate Windows, BSD is for people who love UNIX".
> "Social Engineer -> Because there is no patch for human stupidity"
> "The Unix Guru's View of Sex unzip ; strip ; touch ; grep ; finger ;
> mount ; fsck ; more ; yes ; umount ; sleep."
> "Documentation is like sex: when it is good, it is very, very good;
> and when it is bad, it is better than nothing."
>

--
"Linux is for people who hate Windows, BSD is for people who love UNIX".
"Social Engineer -> Because there is no patch for human stupidity"
"The Unix Guru's View of Sex unzip ; strip ; touch ; grep ; finger ;
mount ; fsck ; more ; yes ; umount ; sleep."
"Documentation is like sex: when it is good, it is very, very good;
and when it is bad, it is better than nothing."
--
---------------------------(fin del mensaje)---------------------------
TIP 7: no olvides aumentar la configuración del "free space map"

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Espartano 2007-08-10 16:45:41 Re: Como insertar registros
Previous Message MIGUEL CANCHAS 2007-08-10 16:33:44 RE: Como insertar registros