Received: from hub.org.org (localhost [127.0.0.1]) by hub.org (8.10.1/8.10.1) with SMTP id e9A2cSJ49364 for ; Mon, 9 Oct 2000 22:38:28 -0400 (EDT) Received: from nameserve.inetmi.com (nameserve.inetmi.com [204.146.136.253]) by hub.org (8.10.1/8.10.1) with SMTP id e96L65J22939 for ; Fri, 6 Oct 2000 17:06:05 -0400 (EDT) Received: (qmail 5529 invoked from network); 6 Oct 2000 19:50:27 -0000 Received: from unknown (HELO inetmi.com) (204.146.136.1) by 204.146.136.253 with SMTP; 6 Oct 2000 19:50:27 -0000 Message-ID: <39DE3E10.975AAFA5@inetmi.com> Date: Fri, 06 Oct 2000 17:03:12 -0400 From: William L James Organization: I/NET, Inc. X-Mailer: Mozilla 4.75 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: timestamp data type and null value Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200010/42 X-Sequence-Number: 836 Hello there: I am trying to move one of our databases from MS SQL to PostgreSQL and having trouble. One of our table columns is a timestamp type and the contents in MS SQL is nulls. When defined for PostgreSQL, I specifically did not include the "NOT NULL" attribute to this column, but when we issue an INSERT with the null, it fails with an error indicating that nulls are not allowed. What can I do to either get the timestamp data type to permit null values or to redefine my column to accept a timestamp-like type and nulls. Thanks, -- William L. James I/NET, Inc. Email: mailto:bjames@inetmi.com WWW: http://www.inetmi.com