Ajeet Mishra
What is an Identity ?
By Ajeet Mishra in SQL Server on Sep 08 2015
  • Mukesh Kumar
    Sep, 2017 3

    in identity you do not need to providekey value externally

    • 0
  • Chetan Raiyani
    Jun, 2016 30

    auto-increment primary key field.

    • 0
  • Munesh Sharma
    May, 2016 31

    http://www.w3schools.com/sql/sql_autoincrement.asp

    • 0
  • Ajeet Mishra
    Sep, 2015 8

    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. SELECT @@IDENTITY - returns the last IDENTITY value produced on a connection SELECT IDENT_CURRENT('tablename') - returns the last IDENTITY value produced in a table SELECT SCOPE_IDENTITY() - returns the last IDENTITY value produced on a connection

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS