Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can this be faster
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2014
Application:
Desktop
Miscellaneous
Thread ID:
01626554
Message ID:
01626638
Views:
37
>>>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 :)

In a similar vein, and you guys probably know this one but I just learned it now so here it goes:

Place the word "Only" anywhere in "She told him that she loved him"
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform