how can i select max row which in the sqlserver table
?nd how can i move between table rows
How can i select max row which in the sqlserver table
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Jan 6, 2013, 5:52 PM EST
I can not get your quesion end to end.
but up to i understand from your quesion is you want to find max row from SQL table and also move data between rows? correct?
so you can use MAX key word to find max row from table.
select Max(salary) from EmpMaster.
and you can move row data by using update statement.
hope this will help you.
ahmed fahd57 reputationPosted Jan 7, 2013, 7:36 AM EST
but i want to get the max row in the table rows index
,the max row not max columns values
i tried to use limit key word and give it row number but it wasn't suitable in visual studio sql
i tried to use rownum keyword but also it wasn't suitable
i want to deal with the index of the rows to move between rows