SQL Server Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1140 Page Views: 

What is the maximum number of columns sorted using ORDER BY Clause in Select Clause?



Posted By: Avi Date: 1 October 2010 12:32:08 PM
 Answer:

16 columns.


Posted By: avibtech


Date: 1 October 2010 12:32:08 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image CKBE5l
Related Questions
SQL Server : What is the use of CUBE operator in SQL Server?

What is the use of CUBE operator in SQL Server?

Cube operator is used with Group By clause to summarize the data. It helps in determining the sub to....
Category: SQL Server Date: 10/1/2010 12:14:08 PM
SQL Server : Is there any difference between STUFF and REPLACE function?Explain

Is there any difference between STUFF and REPLACE function?Explain

Yes, REPLACE and STUFF are different functions. STUFF:- STUFF overwrites the specific length of char....
Category: SQL Server Date: 10/1/2010 12:13:08 PM
SQL Server : What is meant by View?

What is meant by View?

In a datbase there are sevral tables and if you want to view some specific fields from multiple tabl....
Category: SQL Server Date: 10/1/2010 12:12:08 PM
SQL Server : What is the function of STUFF in SQL Server?

What is the function of STUFF in SQL Server?

STUFF function inserts one string into the other. Basically it deletes the specified length of the f....
Category: SQL Server Date: 10/1/2010 12:11:08 PM
SQL Server : Give the query to get the 4th highest salary from emp table.

Give the query to get the 4th highest salary from emp table.

SELECT TOP 1 salary FROM ( SELECT DISTINCT TOP 4 salary FROM emp ORDER BY salary DESC) a ORDER BY sa....
Category: SQL Server Date: 10/1/2010 12:10:08 PM