Not registered yet?
Register now! It is easy and done in 1 minute and gives you access to special discounts and much more!
What is the best way to get IDENTITY of inserted row?
I know about @@IDENTITY and IDENT_CURRENT and SCOPE_IDENTITY but don't understand the pros and cons attached to each.
Can someone please explain the differences and when I should be using each?