Questions on identity?

Answer Posted / magu

Identity (or AutoNumber) is a column that automatically
generates numeric values. A start and increment value can
be set, but most DBA leave these at 1. A GUID column also
generates numbers; the value of this cannot be controlled.
Identity/GUID columns do not need to be indexed.

Syntax :

IDENTITY ( seed, increment )

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the different stages of Report Processing?

97


what are constraints? Explain different types of constraints? : Sql server database administration

506


Write a SQL command to insert and update only a particular field?

632


What is BCP? When does it used in sql server 2012?

578


What are the disadvantages of using querystrings to send data from one page to another?

587






What is the maximum size of column in sql server?

509


What are the difference between “where” and “having” clause in sql server?

586


Why I am getting this error when renaming a database in ms sql server?

537


Hi all, can any one please tell me the difference between sql server 2008 and orace 9i

1529


What is a sql join?

576


What to perform pattern match with the like operator?

487


What's the information that can be stored inside a bit column?

544


Define compound operators?

535


what’s the difference between Covering Indexes and Clustered Indexes ? how to use clustered index small ?

1578


Explain syntax for dropping triggers?

522