From: Keary Suska <hierophant@pcisys.net>
To: Postgres-PHP <pgsql-php@postgresql.org>
Subject: Re: Inserting Null Value or String Value
Date: Tue, 01 Oct 2002 16:48:09 -0600
Message-ID: <B9BF8249.13CDD%hierophant@pcisys.net> (raw)
In-Reply-To: <20021001192010.91020.qmail@web14405.mail.yahoo.com>
on 10/1/02 1:20 PM, dcmkx10@yahoo.com purportedly said:
> This is the SQL generated: UPDATE prod_opt SET xref_prod_id = '4', code = '2',
> title = 'test', isbn = '2', list_price = 2, our_price = 2, spec_price = 2,
> spec_start_date = '10/01/02', spec_end_date = '10/01/02', quantity = 2,
> clearance = 't', priority = 2 WHERE id = '2'
>
> This is the error I get: Warning: PostgreSQL query failed: ERROR: parser:
> parse error at or near "10"
I wouldn't expect that error message, but unless you have changed your date
preferences the date format being used is invalid. By default, you must use
SQl formatted dates, e.g. 2002-10-01
Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: hierophant@pcisys.net
Subject: Re: Inserting Null Value or String Value
In-Reply-To: <B9BF8249.13CDD%hierophant@pcisys.net>
References: <20021001192010.91020.qmail@web14405.mail.yahoo.com> <B9BF8249.13CDD%hierophant@pcisys.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox