Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
sabeer masthan
(259)
amarababu nara...
(204)
Abraham Kuriak...
(104)
Last 7 Days
Deepika Harida...
(1268)
Pradeep Y
(1157)
amarababu nara...
(1031)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
Difference between IDENT_CURRENT,SCOPE_IDENTITY and @@IDENTITY
Posted Date: 19 Jul 2007 Resource Type:
Articles
Category:
Databases
Posted By:
Kamal
Member Level:
Gold
Rating:
Points
: 10
SCOPE_IDENTITY, IDENT_CURRENT, and @@IDENTITY are similar functions in that they return values inserted into IDENTITY columns.
IDENT_CURRENT is not limited by scope and session; it is limited to a specified table. IDENT_CURRENT returns the value generated for a specific table in any session and any scope.
SCOPE_IDENTITY and @@IDENTITY will return last identity values generated in any table in the current session.
However, SCOPE_IDENTITY returns values inserted only within the current scope; @@IDENTITY is not limited to a specific scope.
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
frequently used sql commands
Previous Resource:
Stored Procedures Optimization Tips
Return to Discussion Resource Index
Post New Resource
Category:
Databases
Post resources and
earn money
!
Related Resources
How to replace cursors with a trick:)?
Handling error in stored procedure
Diffrent types of read in SQL Server
Inserting a Record in a table using ADO.NET Dataset
Create Comma delimited Column in SQL Server
dotNet Slackers
BizTalk Adaptors
Web Design
doors in nj
Contact Us
Privacy Policy
Terms Of Use