Re: ERROR: Bad timestamp external representation ''

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Boris <koester(at)x-itec(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: Bad timestamp external representation ''
Date: 2001-03-18 19:30:11
Message-ID: 24766.984943811@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Boris <koester(at)x-itec(dot)de> writes:
> insert into table test (...) values ('NULL') does not work,
> but in mysql it works.

MySQL does not define the SQL standard.

Write
insert into table test (...) values (NULL);
if you want something that is portable and standards-compliant.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-18 20:05:16 Re: ERROR: Bad timestamp external representation ''
Previous Message Boris 2001-03-18 19:16:01 ERROR: Bad timestamp external representation ''