Subject Re: [firebird-support] WHERE mydate STARTING WITH 'ccyy-mm'
Author Anderson Farias

> 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 for dates
(dates CASTed to varchar) in firebird is 'yyyy-mm-dd' so, it matches the
'yyyy-mm' format you're using