Re: Inserting Null Value or String Value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



on 10/1/02 1:20 PM, dcmkx10@xxxxxxxxx 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"



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux