Click here to Skip to main content
15,905,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I just want to find maximum number in a row and need to display the data with the column name!!!!
Posted

1 solution

Have you tried:-

Select MAX(ColumnName) as 'SomeName' from tablename
 
Share this answer
 
Comments
Jeyavijay Nedumaran 22-Jun-15 1:39am    
Thanks but i want to find the maximum value for a row not for a column... Is it possible by using pivot.. if possible means help...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900