how to find maximum identity number in a table ?

Answers were Sorted based on User's Feedback



how to find maximum identity number in a table ?..

Answer / arvind rohit

SELECT IDENT_CURRENT('table_name') ;

Is This Answer Correct ?    33 Yes 5 No

how to find maximum identity number in a table ?..

Answer / karthikeyan

SELECT IDENT_CURRENT('table_name') ;

Is This Answer Correct ?    13 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What happens if the update subquery returns multiple rows in ms sql server?

0 Answers  


What are some of the pros and cons of not dropping the sql server builtinadministrators group? : sql server security

0 Answers  


How do I uninstall sql server 2014?

0 Answers  


What is SubQuery in SQL Server 2008

0 Answers   HCL,


how can you attach more than 20 ldf files in sql server

0 Answers   IBM,






check, not null,unique

2 Answers   IBM,


What are the main differences between #temp tables and @table variables and which one is preferred?

0 Answers  


What is field in algebra?

0 Answers  


IF more than one Site is accessing the same Database server and I want to move the DB with Minimum down time? How will you do

0 Answers  


What is the difference between distinct clause and group by clause?

2 Answers   HHH, Value Labs,


What is the purpose of sql profiler in sql server?

0 Answers  


What is an indexing strategy?

0 Answers  


Categories