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.
SELECT SCOPE_IDENTITY()
If the PK is an IDENTITY Column, you could also use SELECT @@IDENTITY following your INSERT.
CREATE TABLE t (id int IDENTITY(1, 1) PRIMARY KEY, col2 varchar(10))
INSERT t (col2)
VALUES('first')
INSERT t (col2)
VALUES('second')
INSERT t (col2)
VALUES('third')
select @@Identity
DROP TABLE t