I am translating SQL to get rid of '*=' and '=*'.This query:select * FROM (select 1 ID) c, (select 2 ClaimID, case when 1=0 then 1 end AccountLocationID) b, (select 3 ID) lWHERE b.ClaimID =* c.ID AND b.AccountLocationID =* l.ID
SQL Server Tranlates to:SELECT *FROM (SELECT 1 AS ID) AS c LEFT OUTER JOIN (SELECT 2 AS ClaimID, CASE WHEN 1 = 0 THEN 1 END AS AccountLocationID) AS b ON c.ID = b.ClaimID RIGHT OUTER JOIN (SELECT 3 AS ID) AS l ON b.AccountLocationID = l.ID
The result is different. Anyone know why? Or which is correct?