Hi
How can i retrieve last updated EmpID form sql database.
From stackoverflow
-
You can use SCOPE_IDENTITY() after your insert or update statement.
UPDATE Foo SET column1 = 'newValue' SELECT SCOPE_IDENTITY() AS [LastUpdatedID]
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.