Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Type for Time Interval
Message
De
18/04/2006 12:12:36
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Data Type for Time Interval
Divers
Thread ID:
01114300
Message ID:
01114300
Vues:
55
Hello,
I am looking into making a scheduling table for an application server. I want to store the last time ran in a datetime field, and the time interval in another field (like 1 hour, or 6 months). I will then compare those two fields to see if it is time to run it again.

What would be the best way to store a time interval? I'm sure I could do it with a datetime field, but is there a better way?

Thanks,
Mike
Very fitting: http://xkcd.com/386/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform