dateformat issue

Поиск
Список
Период
Сортировка
От Gavin 'Beau' Baumanis
Тема dateformat issue
Дата
Msg-id 8817FD2B-5B01-4E3D-9C6D-A6FF165561FB@eclinic.com.au
обсуждение исходный текст
Ответы Re: dateformat issue  (Aarni Ruuhimäki <aarni@kymi.com>)
Re: dateformat issue  (Tk421 <vrobador@gmail.com>)
Re: dateformat issue  (Volkan YAZICI <yazicivo@ttmail.com>)
Список pgsql-sql
Hi Everyone,

I have a question about dates, please.

I am using Coldfusion and Postgres
I have a function that takes the ate entered in a form and converts it  
into an odbc date format.

So the string ends up being;
{d '2008-04-10'}

Strangely, the function is used throughout the application and causes  
no issues but on one particular template.
And this same templates is replicated for other clients - that  
seemingly have no issue .


The SQL is simply

Insert into table (datefield) values ({d '2008-04-10'})

Now, I have read the docs and do not see the {d '2008-04-10'} format  
as being a valid date data type...
But it works elsewhere in the application / on other sites - thus my  
current state of confusion.

Thanks in advance for any ideas you might have.



Please contact me if you should have any questions.

Gavin 'Beau' Baumanis
Senior Application Developer
PalCare Pty. Ltd.

E: beau@palcare.com.au
T: +61 -3 9318 4567
M: +61 -4 38 545 586
W: http://www.palcare.com.au


В списке pgsql-sql по дате отправления:

Предыдущее
От: Colin Martin
Дата:
Сообщение: (no subject)
Следующее
От: Aarni Ruuhimäki
Дата:
Сообщение: Re: dateformat issue