how to get rank of diffrent student in same table based on
newly inserted row in sql server2008

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain various data region available in ssrs with their use?

732


What is the difference between composite index and covering index?

688


which table keeps the locking information? : Sql server administration

709


How to delete existing triggers using "drop trigger"?

776


How do you maintain database integrity where deletions from one table will automatically cause deletions in another table?

935


What is mscorsvw.exe - process - microsoft .net framework ngen?

697


Determine when to use stored procedure to complete sql server tasks?

717


What is the use of group by clause?

711


Can a function call a stored procedure in sql server?

706


Does table partitioning improve performance?

703


Is mysql better than sql server?

739


What are security principals used in sql server 2005?

667


After creating the cube, if we added a new column to the oltp table then how you add this new attribute to the cube? : sql server analysis services, ssas

738


How ssrs maintain security?

785


What is the purpose of linked server configuration in sql server?

740