Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why did I write this code?
Message
De
16/12/2021 03:31:43
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
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:
01682970
Vues:
52
>Because you could!

Such inspiration doesn't happen every day.

>>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 :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform