Hi,
This is something that i've always wondered about.
I always use where clauses to join queries together. Heres an example:
select orders.order_id, orderitems.order_item_id
from orders, orderitems
where orders.order_id = orderitems.order_id
Obviously I could do the same query using JOIN syntax.
The question I have is whats the difference (apart from LEFT,RIGHT,OUTER joins) . Is there an optimization if I use JOIN syntax. Is JOIN syntax ANSI compliant ?
Thanks.
Rich.
Programmers are tools for converting caffeine into code
This is something that i've always wondered about.
I always use where clauses to join queries together. Heres an example:
select orders.order_id, orderitems.order_item_id
from orders, orderitems
where orders.order_id = orderitems.order_id
Obviously I could do the same query using JOIN syntax.
The question I have is whats the difference (apart from LEFT,RIGHT,OUTER joins) . Is there an optimization if I use JOIN syntax. Is JOIN syntax ANSI compliant ?
Thanks.
Rich.
Programmers are tools for converting caffeine into code