Subject | Re: Order by error in FB 1.5 |
---|---|
Author | Adam |
Post date | 2006-09-26T23:18Z |
--- In firebird-support@yahoogroups.com, "jesus_cointec"
<jesus_cointec@...> wrote:
For example:
'27 Sep 2006 9:15:00 am'
In Dialect 3, the DATE datatype stores only the date.
For example:
'27 Sep 2006'
There is a new TIMESTAMP datatype that behaves like the Dialect 1 DATE
datatype.
So all the fields you expect to hold both date and time should be
changed to TIMESTAMP under dialect 3. Fields that do not require the
time component should be defined as a DATE.
Adam
<jesus_cointec@...> wrote:
>In Dialect 1, the DATE datatype stores both the date and the time.
> And what about date and timestamp error with dialect 1?
>
For example:
'27 Sep 2006 9:15:00 am'
In Dialect 3, the DATE datatype stores only the date.
For example:
'27 Sep 2006'
There is a new TIMESTAMP datatype that behaves like the Dialect 1 DATE
datatype.
So all the fields you expect to hold both date and time should be
changed to TIMESTAMP under dialect 3. Fields that do not require the
time component should be defined as a DATE.
Adam