Returns the last identity value inserted into an identity column in the same scope. A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same stored procedure, function, or batch.
SCOPE_IDENTITY()
Returns numeric value.eg:- RETURN SCOPE_IDENTITY()
Compare Sql Server Table Constraints
13 years ago
2 comments:
Visit http://www.foosms.com for sending free sms.. :)
I was suggested this blog by my cousin. I'm not sure whether
this post is written by him as no one else know such detailed
about my problem. You're amazing! Thanks!
Also visit my blog ... Reviews on Panic Away (blogspot.com)
Post a Comment