Indeed..

"ROM table1,table2 WHERE table1.foo = table2.foo (Is NOT ANSI compliant
SQL)"

This should be avoided.



-----Original Message-----
From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: 20 September 2006 13:54
To: CF-Talk
Subject: Re: How to get these query results

Rick Faircloth wrote:
> You're saying that the comma in the select statement
> 
>  is non-standard
> and that the Inner Join syntax as a substitute for the comma
> is more appropriate?
> 

Appropriate, maybe...standard, yes.

FROM table1,table2 WHERE table1.foo = table2.foo (Is NOT ANSI compliant SQL)

FROM table1 INNER JOIN table2 ON table1.foo = table2.foo (Is ANSI 
compliant SQL)

Google on "ANSI join syntax" and there are a couple of good articles on 
the subject.

(and sorry if this has already been answered...I don't seem to be 
getting all the messages from cftalk).



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253594
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to