Emil,

You might try to split the time stamp into separate date and time columns. That would 
allow you to cretae and use an index on time alone.

At 14:24 2001-12-05 +0100, Emil Rasmussen wrote:
>>
>>   WHERE myfield LIKE '________HH____'
>>
>> However this query will probably not use your index either :)
>
>Yeah, it works, but still, it does not use my index as long as it is working
>with strings. But neat trick anyway.
>
>Thanks
>
>Regards Emil
>--
>Emil Rasmussen
>http://noget.net
>
>
>---------------------------------------------------------------------
>Before posting, please check:
>   http://www.mysql.com/manual.php   (the manual)
>   http://lists.mysql.com/           (the list archive)
>
>To request this thread, e-mail <[EMAIL PROTECTED]>
>To unsubscribe, e-mail <[EMAIL PROTECTED]>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Marjolein Katsma      [EMAIL PROTECTED]
Java Woman - http://javawoman.com/


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to