Привет!

1LT John W. Holmes wrote:
> How about
> 
> SELECT * FROM table WHERE $current_shot BETWEEN start_shot AND end_shot

*if* that was on Oracle *and* the table was big you'd notice that your 
performance goes down. Don't ask me why. And I never checked it on 
MySql. But watch out for betweens. Check them.

пока
Альберто
Киев

@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@

LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is.......


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to