Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: poll ideas quest 2012

by chacham (Curate)
on Apr 19, 2012 at 23:58 UTC ( #966064=note: print w/ replies, xml ) Need Help??


in reply to poll ideas quest 2012

The (redundant) predicate in a SQL EXISTS() predicate should be "SELECT ?":

  • * -- Nothing says "i don't care" like a good asterisk
  • 1 -- "Everyone knows" asterisk causes a useless data dictionary lookup
  • '1' -- Characterizes a number one idea
  • NULL -- Why SELECT anything at all?
  • 'NULL' -- Null strings are best
  • '/dev/null' -- In case you nix the other ideas
  • 'NUL' -- Used in all Windows of opportunity
  • Avoid the issue by using IN() stead
  • Convolute the issue by doing a join


Comment on Re: poll ideas quest 2012

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966064]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-10-31 05:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (214 votes), past polls