Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why did I write this code?
Message
De
15/12/2021 17:13:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01682961
Message ID:
01682968
Vues:
53
Because you could!

>Hi,
>
>I know I should not be admitting to writing some stupid code. But I was refactoring code in one method where I have the following, in a long SQL Select.
>
>isnul( table1.table_pk,11) as table1_pk  
>
>Since this is a PK value of a table, it should never be NULL.
>But suppose I was being extra cautious, why "11"?
>
>Please no name calling :)
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform