Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why did I write this code?
Message
From
16/12/2021 03:31:43
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
15/12/2021 17:13:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01682961
Message ID:
01682970
Views:
51
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform