Received: from motgate3.mot.com (motgate3.mot.com [144.189.100.103]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fATGgRm76688 for ; Thu, 29 Nov 2001 11:42:28 -0500 (EST) (envelope-from Miguel.Peralta@motorola.com) Received: [from pobox3.mot.com (pobox3.mot.com [10.64.251.242]) by motgate3.mot.com (motgate3 2.1) with ESMTP id JAA10181 for ; Thu, 29 Nov 2001 09:33:08 -0700 (MST)] Received: [from il75exm04.cig.mot.com ([136.182.110.113]) by pobox3.mot.com (MOT-pobox3 2.0) with ESMTP id JAA11701 for ; Thu, 29 Nov 2001 09:32:38 -0700 (MST)] Received: by IL75EXM04 with Internet Mail Service (5.5.2654.52) id <4K0C21A3>; Thu, 29 Nov 2001 10:42:31 -0600 Message-ID: <698AE46F861FD51182CB0002B328C3720243DEB1@IL75EXM05> From: Peralta Miguel-MPERALT1 To: pgsql-admin@postgresql.org Subject: Bad Date field Date: Thu, 29 Nov 2001 10:42:01 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.52) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200111/167 X-Sequence-Number: 2692 Hello everyone: Would anyone know how to find a bad date field in an external file? I have an external file that I am using to populate a table using the following command: COPY release_data FROM '/home/mperalta/release_data' USING DELIMITERS '|' When I issue this command, the response afte a while is the following: ERROR; Bad date external representation '9' The external file is rather large and I've tried finding this bad date manually with no success. The table I'm copying into has a datestamp of type DATE. Any suggestions would be greatly appreciated.