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 is sub-query in sql server?

664


Write SQL queries on Self Join and Inner Join.

606


How to use clusters?

547


What is the difference between cube operator and rollup operator? : SQL Server Architecture

618


How to get a list of table columns using the "sp_columns" stored procedure in ms sql server?

551






what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration

584


Can You Use Data Mining Models In Ssrs?

97


whats new about truncate in sql server 2008?

2024


What is transaction server isolation?

575


Can we perform backup restore operation on tempdb? : sql server database administration

582


What are the differences between stored procedure and the dynamic sql?

574


How to concatenate two binary strings together?

607


What is the difference between upgrade and migration in sql server?

589


How can a user-defined datatype be created?

538


How to delete all rows with truncate table statement in ms sql server?

487