Pages
Home
React JS
React Native
SQL Server
C#.net
Interview
Videos
Angular
ASP.Net
AJAX
Contact Us
26 June 2013
Return value after INSERT in sql server
Use
SCOPE_IDENTITY()
to get the new ID value
INSERT
INTO
table
(
name
)
VALUES
(
'bob'
);
SELECT
SCOPE_IDENTITY
()
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment