Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default SqlParameter Value To Null
Message
De
16/02/2009 20:59:54
 
 
À
16/02/2009 09:04:59
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01381129
Message ID:
01382265
Vues:
21
>Well, wind does change. If yesterday it was 270 degrees at 15 knotts and then updated it today to null at 0 knotts would that be appropriate? This is interesting because I hadn't thought about it before and agreed with; then Cetin posted. I guess there is a time for everything. If degrees was an integer then I would have to set it to null as 0 might not be appropriate although it is not a degree.

Meteorologically speaking, a 0 knot wind has no direction, but I see no problem with defaulting it's direction to 0 degrees when the speed is 0 knots. In fact, I'm pretty sure that's what weather software would do anyway (either that, or keep the last direction that a wind speed was recorded at).

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform