On Sep 8, 2006, at 10:10 AM, Jack Skelley wrote:

I know if you put NOOPTIMIZE in an SQL select construct you don't get an error but I'm not sure if it does anything...
select * ;
  from some_table ;
  nooptimize ;
  where some_field = "Joe" ;
  order by some_field
This does not trigger an error but does it do anything???

What you've done is set 'nooptimize' as the alias for 'some_table'. If you were to change the select to begin with: 'select some_table.some_field ...', you would get an error.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to