Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Midnight wraparound.

by JamesNC (Chaplain)
on Aug 13, 2005 at 13:29 UTC ( #483541=note: print w/replies, xml ) Need Help??


in reply to Midnight wraparound.

Got indexes?
A clustered index on the columns you specify will keep them in sorted order by whatever columns you specify and in what order you specify them.
create clustered index end_start_idx on schedule ( end_time, start_tim +e, event_id )

Make creating indexes part of every create table you do and you will be happy you did.
JamesNC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483541]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2016-12-06 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.