jasonhuibers
Programmer
I am using a sql 2008 database and when I use an Insert statement, I would like to be able to grab the autonumber id of that record I just inserted. How can I do this using asp?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Set NoCount On
Insert Into People(Name) Values('Jack')
Select Scope_Identity() As PersonId