order by

External Article

Returning Sorted Record Sets Using the ORDER BY Clause

  • Article

Having your data returned to you in some meaningful sorted order is important sometimes. If you don’t tell SQL Server you want to order the results of a SELECT statement then there is no guarantee that your result set will come back in a particular order. To make sure a result set is ordered you need to use the ORDER BY clause. In this article I will be exploring how to return an order result set by using the ORDER BY clause.

2015-01-16

10,316 reads

Blogs

Know Thy Platform

By

IT and data professionals, I implore you – know thy platform. All of it....

Adding Git LFS Support – #SQLNewBlogger

By

I got this message recently while committing some changes: This post shows my work...

EightKB 2024

By

EightKB is back! The biggest online SQL Server internals conference is back in 2024…it’s...

Read the latest Blogs

Forums

Downside to running a query in parallel

By water490

I am a SS rookie.  To me it seems like running a query in...

What Every DBA Should Know about Always On Readable Secondaries

By SQLSACT

Comments posted to this topic are about the item What Every DBA Should Know...

Filestream on Linux

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Filestream on Linux

Visit the forum

Question of the Day

Filestream on Linux

I want to implement a Filestream table on SQL Server 2022 running on Linux. Can I do this?

See possible answers