Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Network:
Windows 2000 Server
>>About when UNION ALL is slower than UNION kill me I don't know. My first answer is "NEVER" but I suspect that if there is such a question maybe there are occasions when that statements is true. Maybe for huge tables and proper indexes the filtering could be faster than just APPEND, but as I said I am not sure at all.
>
>I also answered that UNION ALL is faster and also was puzzled where UNION ALL would be slower. The answer was when UNION would return a huge result set the UNION ALL might be slower, I never verified this, BTW.
>
YEAH!!!!!!
Finally guessed correctly on a tech question I knew almost nothing about.
Précédent
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