Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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


Comment on Re: Midnight wraparound.
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483541]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (17)
As of 2015-07-28 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (255 votes), past polls