Re: [Portugal] importaçao de dados
Eloi Ribeiro
eloi.ribeiro at gmail.com
Sun Aug 9 18:02:08 EDT 2009
podes usar o comando COPY [1].
exemplo:
*copy tabela_destino from '/home/user/ficheiro.csv' using delimiters ','
with null as 'NULL';*
se o delimitador for uma tabulação e os nulos igual a campos em branco,
então podes fazer assim:
*copy tabela_destino from '/home/user/ficheiro.csv';
*boa sorte.*
*xau,
[1] http://www.postgresql.org/docs/8.3/static/sql-copy.html
--
Eloi Ribeiro
GIS Analyst
39.45º -4.40º
http://eloiribeiro.wordpress.com
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: http://lists.osgeo.org/pipermail/portugal/attachments/20090810/821c6eff/attachment.html
More information about the Portugal
mailing list