Possible Duplicate:
SQL: What does =* mean?
I am going through some legacy code and found a query like this:
SELECT * from foo_table, bar_Table where foo_table.id *= bar_table.fac_id
What does the *= operator do?
That is the old and no longer recommended way of specifying table joins.
The modern equivalent to what you're seeing would be:
SELECT *
FROM foo_table
LEFT JOIN bar_Table ON foo_table.id = bar_table.fac_id
I believe that is an old style way of referring to left and right inner and outer joins. Here is an article about it, and it being deprecated:
http://blogs.technet.com/wardpond/archive/2008/09/13/deprecation-of-old-style-join-syntax-only-a-partial-thing.aspx#3123714
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With