begin pauls (AT) computer-systems (DOT) com schrieb:
Quote:
is it possible to have the copy command truncate character data when
the data is too long to fit in the field? For example field |
As far as i know: no.
Quote:
description1 is 19 char long in table. But there is 20 char in the
load file. |
Load the data in a temp. table with text instead char(19) and use
substring() or similar to INSERT the data from this table to the
destination.
end
Andreas
--
Andreas Kretschmer
Linux - weil ich es mir wert bin!
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net