Subject | Re: WHERE mydate STARTING WITH 'ccyy-mm' |
---|---|
Author | skoczian |
Post date | 2008-05-11T14:42:15Z |
--- In firebird-support@yahoogroups.com, "Anderson Farias"
<peixedragao@...> wrote:
implicit cast, and after looking it up in The Book I'm still surprised
about it. Should perhaps have been clearer about this in my first posting.
<peixedragao@...> wrote:
>for dates
> Hi,
>
> > Is this legal SQL or what did I overlook? Speed is no issue here, the
> > database is very small and will grow very slowly.
>
> I supose this is kind a 'lucky' result. The string representation
> (dates CASTed to varchar) in firebird is 'yyyy-mm-dd' so, it matchesthe
> 'yyyy-mm' format you're usingYes - this is documented anyway. But I wouldn't have expected any
>
implicit cast, and after looking it up in The Book I'm still surprised
about it. Should perhaps have been clearer about this in my first posting.