C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
4
Reply
What is an Identity ?
Ajeet Mishra
10y
501
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
in identity you do not need to providekey value externally
Mukesh Kumar
8y
0
auto-increment primary key field.
Chetan Raiyani
9y
0
http://www.w3schools.com/sql/sql_autoincrement.asp
Munesh Sharma
9y
0
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
Ajeet Mishra
10y
0
What are the steps to Create Cursor in SQL Server ?
What is a LEFT OUTER JOIN in SQL?
Message