Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible
Message
From
12/02/2013 17:12:28
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Environment versions
SQL Server:
SQL Server 2008
Application:
Desktop
Miscellaneous
Thread ID:
01565799
Message ID:
01565837
Views:
52
I think it's because we're so used to typing "Select *..." or "Select fieldname..." that when we type "Select Top..." our brains think 'top' is a fieldname?

That's my story, I'm sticking to it.


>For some reason I often forget to specify the column list with TOP myself :)
>
>>Oh dwurp! (headdesking).
>>
>>I was so concerned with getting the expression right that I didn't even notice I'd forgotten that.
>>
>>Thanks Sergey
>>
>>>You forgot to enclose expression in parenthesizes and specify column list
>>>
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Reply
Map
View

Click here to load this message in the networking platform