Answers for "get last inserted primary key"

SQL
0

get last inserted primary key

INSERT INTO dbo.Table(columns)
OUTPUT INSERTED.p_key, INSERTED.someothercolumnhere .......
VALUES(...)
Posted by: Guest on June-16-2020

Code answers related to "get last inserted primary key"

Code answers related to "SQL"

Browse Popular Code Answers by Language