Hello ,

I'm using COPY to read from ascii files :
copy xxxxxx from 'myfile' using delimiters ' '
structure of myfile :
field1 field2 field3 ...... fieldn
It's OK

Now, I need to fill one another table with this file : ( couples of
lines , each couple of lines must fill one line in the table )
linea-field1 linea-field2 linea-field3 ...... linea-fieldn <- here is a
"\n"
lineb-field1 lineb-field2 lineb-field3 ...... lineb-fieldn
line of type a
line of type b
line of type a
line of type b
... etc


Is it possible with the COPY command ?

--
/* [EMAIL PROTECTED] T�l : +33 04 76 82 80 30   */
/* http://www-lgit.obs.ujf-grenoble.fr                      */
/* LGIT - BP 53X      38041 Grenoble Cedex 9                */
/* T�l : +33 04 76 82 80 39; Fax : +33 04 76 82 81 01       */



Reply via email to