Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can this be faster
Message
De
29/10/2015 13:12:30
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2014
Application:
Desktop
Divers
Thread ID:
01626554
Message ID:
01626637
Vues:
48
J'aime (1)
>>Sergey, you can't use MAX in a WHERE clause. Only in a HAVING, or within context of a subquery. (And I see Naomi just posted the same thing)
>>
>> Do you test code before posting it? :)
>
>So replace WHERE with HAVING. What is a big deal?

It's like the use of a comma. It's the difference between...

"We're going to eat, Grandma"

and

"We're going to eat Grandma"

Small detail, big difference :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform