I was typing along and fat finger something and when I typed
=*
in the sql window (2008 SSMS connected to a 2005 server) it turned blue as a keyword.
I can not figure out, or google, what this does. I know *= but not =*
What does this operator do?
There are six types of SQL operators that we are going to cover: Arithmetic, Bitwise, Comparison, Compound, Logical and String.
An operator is a symbol specifying an action that is performed on one or more expressions. The following table lists the operator categories that SQL Server uses.
The sql equal operator is used to check whether two expressions are equal or not. If it's equal, the condition will be true and will return matched records. The sql not equal operator is used to check whether two expressions are equal or not.
=*
is an old way to write right outer joins. For example:
select *
from A
right outer join
B
on A.bid = B.id
Is written in the old style like:
select *
from A
, B
where A.bid =* B.id
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