Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interesting Query Problem
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01518190
Message ID:
01518205
Vues:
47
>Do you have more than 1 record in the CompassQuery that has CompaignID = 140?
>Yes, there are 68 records. Some of the WHERE clauses are quite long.
>
>Why you're not using what I posted - it should have lead to the correct query.
>I split it up because the string was too long and I wanted to see if it would help.

Ok, try with the fix from the previous message (just one where condition).

For multiple where conditions one possibility is to introduce them all with OR and (), another, which I posted originally, is to do UNION ALL query.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform