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

Where is my database stored on the hard disk in ms sql server?

0 Answers  


What is the recovery model?

0 Answers  


What are examples of triggers?

0 Answers  


explain different types of jions with examples briefly?

2 Answers   Accenture, Excellence, Zensar,


1. SELECT SUM(sal) as “Gross Salary” from EMPLOYEES; 2. SELECT MAX(sal) as “Highest Salary” from EMPLOYEES; ouput should be in table format

2 Answers  






What is the need for indexing?

0 Answers  


What are pages and extents? : SQL Server Architecture

0 Answers  


What are statistics?

0 Answers  


What are the authentication modes in sql server? How can it be changed?

0 Answers  


How would we use distinct statement? What is its use?

0 Answers  


What is log in sql server?

0 Answers  


What are the rules to use the rowguidcol property to define a globally unique identifier column?

0 Answers  


Categories