General information
Forum:
Microsoft SQL Server
Title:
Return identity value from newly inserted record
Is there an easy way to return a key value generated from a field incremented with identity right after an insert of a single record?
I've ben using " Select max(identity value) from table" right after an insert and wory about possible updates happening before I can get max() retuned.
Thanks
Jeff
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only