Closed maciejrudy-zz closed 7 years ago
Use MINUS ALL in Teradata, instead of just MINUS:
query1 MINUS ALL query2 UNION ALL query2 MINUS ALL query1
Not for all databases, as e.g. Microsoft SQL Server does not support the ALL clause.
Use MINUS ALL in Teradata, instead of just MINUS:
query1 MINUS ALL query2 UNION ALL query2 MINUS ALL query1
Not for all databases, as e.g. Microsoft SQL Server does not support the ALL clause.