Convert Legacy SQL Outer JOIN *=, =* to ANSI
问题 I need to convert a legacy SQL outer Join to ANSI. The reason for that being, we're upgrading from a legacy DB instance (2000/5 ?) to SQL 2016. Legacy SQL query :- SELECT --My Data to Select-- FROM counterparty_alias ca1, counterparty_alias ca2, counterparty cp, party p WHERE cp.code *= ca1.counterparty_code AND ca1.alias = 'Party1' AND cp.code *= ca2.counterparty_code AND ca2.alias = 'Party2' AND cp.code *= p.child_code AND cp.category in ('CAT1','CAT2') Here, Party1 and Party2 Are the party