我有以下查询需要从 Oracel PL/SQL 转换为 T-SQL 以适应数据源更改。
Oracle 连接 (+) 如何转换为 T-SQL?
SELECT INA01 , SMYDESC , CASE WHEN INACONF = 'Y' THEN '0' ELSE '1' END , INB15 , AZF03 , INAORIU , ZX02 , INADATE , INA04 , GEM02 , INA02 , INA11 , INA07 , INB03 , INB04 , IMA02 , INB09 , INB08 , INBUD02
FROM INA_FILE , SMY_FILE , GEM_FILE , INB_FILE , IMA_FILE , AZF_FILE , ZX_FILE
WHERE INA00 = '1'
AND INACONF <> 'X'
AND INA01 = INB01
AND INB04 = IMA01(+)
AND SUBSTRING(INA01,1,5) = SMYSLIP(+)
AND SUBSTRING(INA01,1,5) NOT IN ('0IN99','1IN03','0IN92','1IN04','0IN98')
AND INA04 = GEM01(+)
AND INB15 = AZF01(+)
AND INAORIU = ZX01(+)
AND INACONF = 'Y'
AND inadate = to_date('2012/05/23', 'yyyy/mm/dd')