Subject | Re: [firebird-support] index on TIMESTAMP field to facilitate search on DATE |
---|---|
Author | Ivan Prenosil |
Post date | 2006-01-24T17:56:10Z |
>I have a TIMESTAMP field and using a SQL likeNo. (unless you have Firebird 2 and create expression index.)
>
> SELECT .....
> WHERE CAST(T2.CHECKIN_TIMESTAMP AS DATE) = 'NOW'
>
> If i add an index of CHECKIN_TIMESTAMP will it speed up the search?
Ivan
http://www.volny.cz/iprenosil/interbase/