table.hovertable {
font-family: verdana,arial,sans-serif;
font-size:11px;
color:#333333;
border-width: 1px;
border-color: #999999;
border-collapse: collapse;
}
table.hovertable th {
background-color:#c3dde0;
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #a9c6c9;
}
table.hovertable tr {
background-color:#d4e3e5;
}
table.hovertable td {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #a9c6c9;
}

What are the maximum number of Columns in ORDER BY clause in SQL Server?
The maximum number of Columns in ORDER BY clause are Limited only by number of bytes.

Below link gives details regarding maximum bytes per ORDER BY Clause.
What are the maximum Bytes per ORDER BY in SQL Server?

Max Capacity For SQL Server 2012 SQL Server 2008 R2 SQL Server 2008 SQL Server 2005
maximum number of Columns in ORDER BY clause in SQL Server Limited only by number of bytes. Limited only by number of bytes. Limited only by number of bytes. Limited only by number of bytes.

http://msdn.microsoft.com/en-us/library/ms143432.aspx

Leave a Reply

Your email address will not be published. Required fields are marked *