Knowledge Base

¿Qué es esto?

SQL: Cmprobar si dos tablas son iguales

05/02/2008 - 27/12/2018 -  Comentarios - SQL

select * from TABLA1
     minus
     select * from TABLA2) -- Rows in A that are not in TABLA2
     union all
      (
          select * from TABLA2
           minus
          select * from TABLA1
      ) -- rows in B that are not in TABLA1