Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In Over My Head With A Scalar-Valued Function
Message
 
À
23/12/2009 21:15:47
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Desktop
Divers
Thread ID:
01440468
Message ID:
01440537
Vues:
56
>That worked! Thanks. I hadn't thought of the value possibly being all zeros. What's the best way to trap for that?

Do you really need to trap for that? If it is invalid, there will be no matching records and your isnull call will do the same as the if will do, right?
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform