Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Comparing two SQL cursors
I have pulled data from two separate SQL tables, and I need to find which rows are different. They have exactly the same structure.
I have the two views which I will call cFirstSQL and cSecondSQL and I did the following thinking that this would work;
SELECT * from cFirstSQL WHERE NOT EXSISTS (SELECT * FROM cSecondSQL)
I get not data, and there are differences.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement