Views: 5.4K
Replies: 2
Archived
|
Retrieve Primary Key ValueHow do I insert a new record and then retrieve the primary key value?
Chuks Enedeh, May 11, 2015
|
|
Reply 1Chuks:
In SQL Server issue SELECT SCOPE_IDENTITY() following the INSERT statement. This will return the newly created Identity primary key. Hope this helps. Jack Jack Poorte, Jul 16, 2015
|
|
Reply 2You query is open ended. So difficult to get.
Alok Saxena, Jun 25, 2015
|