July 23, 2008 at 5:29 am
Good Day People
I was working with some queries in MSSQL 2000 When a found this operator
' *= ' in a Where Clause.
Anyone can tell me what´s the meaning of this operator.
I search on some places but i didn´t find info about this.
Thx
July 23, 2008 at 5:37 am
It's a left join, Charles.
Return all rows from the table on the left side of the operator, and only matching rows from the table on the right.
SELECT a.*
FROM TableA a, TableB b
WHERE a.column *= b.column
Is the same as
SELECT a.*
FROM TableA a
LEFT JOIN TableB b on b.column = a.column
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
July 23, 2008 at 5:43 am
Thanks for the reply it´s cleared the queries a little
July 23, 2008 at 5:53 am
You're welcome. Might be worth your while taking a look at the following thread:
http://www.sqlservercentral.com/Forums/Topic532242-338-1.aspx#bm532442
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply