how to find maximum identity number in a table ?
Answer Posted / arvind rohit
SELECT IDENT_CURRENT('table_name') ;
| Is This Answer Correct ? | 33 Yes | 5 No |
Post New Answer View All Answers
How to create a large table with random data for index testing in ms sql server?
What is precedence constraint?
Can truncate be rolled back?
What is the sql case statement used for?
How to define output parameters in stored procedures?
What is the difference between delete and truncate statements?
What is a non clustered primary key?
Describe different Processing Modes offered by SSRS?
1.how to find the dead lock in sql server? 2.How to fine the memory leaks in sql server? 3.suppose transaction log file increasing what action will take ?
How to enter date and time literals in ms sql server?
What is the sql profiler?
What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?
What should be the fill factor for indexes created on tables? : sql server database administration
Explain about extended stored procedure?
How to convert a table data in XML format in sql server?