我尝试将旧的ANSI MS sql join语法转换为新的连接语法,但结果中的行数不匹配。我尝试过 querydesigner-verify sql syntax 选项并收到非法使用外连接运算符错误。
Source sql
select TableA.DATA1,TableB.DATA2
from TableA, TableB
where TableB.Sequence =* TableA.Sequence
and TableB.CSequence =* TableA.CSequence
我已经尝试了下面的sql,但结果行数不匹配
Select TableA.DATA1,TableB.DATA2
from TableA
LEFT OUTER JOIN TableB
ON TableA.SEQUENCE = TableB.SEQUENCE
and TableA.CSequence = TableB.CSequence