: MIDRANGE dot COM Mailing List Archive

Re: Classic trap : using SQL while not fully competent


AddThis Feed Button


Joe Pluta wrote:
Then again, SQL considers SELECT * FROM FILE WHERE '1' = '0' to be valid syntax, so I guess it only follows that the WHERE clause wouldn't cause it to fail.

I don't think this is really unreasonable. Consider that any programming language that I know of will let you say

do until (true = false)
// something I want to do forever


If you can come up with syntax checkers that can capture most logic errors (without any false positives), then to paraphrase (fake) Sean Connery: "You're sitting on a gold mine Pluta!" :)





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2010 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact