Thursday, August 1, 2013

to get the auto identity number generated in a current code execution


DECLARE @ID AS BigInt

Set @ID=Scope_Identity()

No comments:

Post a Comment