Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 studying the Monastery: (5)
As of 2014-09-20 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (159 votes), past polls