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 different types of statement?

667


How to delete duplicate rows?

708


Write a program to fetch first 10 records from a file?

759


what does the automatic recovery do? : Sql server administration

733


Do you know the policy based administration feature of sql server 2008?

732






What is the impact on other user sessions when creating indexes?

711


What is difference between count (*) and count 1?

678


What do you understand by SQL*Net?

782


What is a data source or ds? : sql server analysis services, ssas

757


What do we have to check in database testing?

764


How to use wildcard characters in like operations in ms sql server?

804


How does the report manager work in SSRS?

131


How to compare the top two records using sql?

954


How to list all schemas in a database?

780


what is a traditional network library for sql servers? : Sql server database administration

636