Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select TOP 1 in SQL Server 2008
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01364660
Message ID:
01364694
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
>Thanks, Boris. Do you think my code for looping through the records is OK?

Sure,
I use such loop when I need it :-)
But instead of TOP 1 I use MIN() :-) and I am not sure which is faster :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform