how to get rank of diffrent student in same table based on
newly inserted row in sql server2008
Answers were Sorted based on User's Feedback
Answer / diveyandu
use dense_rank over(partition by stu_exam_date order by
stu_id) as stu_rank show a particular date student exam or
diff activity rank
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / naveen
place identity on a column at the time of creating table
Ex:
create table test(studentrank identity(1,1))
Is This Answer Correct ? | 0 Yes | 3 No |
Answer / abi
select rank from student;
(because we dont know if the rank field is inserted r not)
Is This Answer Correct ? | 0 Yes | 4 No |
Explain DBCC?
Lets say due to N/W or Security issues client is not able to connect to server or vice versa. How do you troubleshoot?
What are different types of statements that are supported by sql?
hi, how to link a text file and a .rpt file in my tables of sql server and to retrieve those records for further use. reply me as soon as possible.
Explain how dts is used to extract, transform and consolidate data?
What is the difference between a function and a trigger?
What is the server name in sql server?
can we have a nested transaction? : Sql server database administration
How to generate random numbers with the rand() function in ms sql server?
which is best institute to learn sql server in ameerpet or sr nagar or maithrivanam?please help
What changes in the front end code is needed if mirroring is implemented for the high availability? : sql server database administration
Why does sql studio use a single registered database repository? : sql server management studio