COPY tablename FROM and null values
От
ivan marchesini
Тема
COPY tablename FROM and null values
Дата
Msg-id
1143026331.4730.23.camel@geologia5.agora.ing.unipg.it
Список
Дерево обсуждения
COPY tablename FROM and null values ivan marchesini <marchesini@unipg.it>
Re: COPY tablename FROM and null values Tom Lane <tgl@sss.pgh.pa.us>
Re: COPY tablename FROM and null values Achilleus Mantzios <achill@matrix.gatewaynet.com>
Re: COPY tablename FROM and null values Luckys <plpgsql@gmail.com>
Re: COPY tablename FROM and null values JSP <jason.palivino@gmail.com>
Dear users, I'm working on a Postgres 7.4 server I have a .txt file, containing some tabular data, where data are delimited by TABs. there are 3 columns: column1 int4, column2 float8, column3 float8 the problem is that column3 contains also null values (i.e. sometimes is empty) so when I try to use COPY tablename FROM 'filename.txt' I obtain an error I have tried also using " WITH NULL AS ' ' " but without good results... can someone explain me how to solve this problem??? thank you very much Ivan -- Ivan Marchesini Department of Civil and Environmental Engineering University of Perugia Via G. Duranti 93/a 06125 Perugia (Italy) e-mail: marchesini@unipg.it ivan.marchesini@gmail.com tel: +39(0)755853760 fax: +39(0)755853756 jabber: geoivan73@jabber.org
В списке pgsql-sql по дате отправления
От: Patrick JACQUOT
Дата: