Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Paul Watson — — source: Informix-list mailing list archive (1991-1998)
What version are you running and what is DBDATE set to?? It looks like
290200 is expanding to 29021900 and then the engine is right
Carlos wrote:
>
> We've got a problem with dates in SQL.
> The next query results in -1204 error (invalid year in date).
>
> select ..... where date_field = "290200"
>
> In the other hand these querys work fine :
>
> select ...... where date_field = "280200"
>
> select ...... where date_field = "290204"
>
> Does anyone have any idea?
>
> Thanks in advance
--
Paul Watson #
WF Software # If it was easy
Tel ++44 1436 674729 # Everybody could do it
Fax ++44 1436 678693 #
www.wfsoftware.com/informix #
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.