HLRosenberger
asked on
returning primary key after update
I use this appended to an INSERT statement (using Dim PK as long = Command.ExecuteScalar() ) to return the primary key:
SELECT @@Identity
How do I do the same for an UPDATE? I am geting a NULL back.
SELECT @@Identity
How do I do the same for an UPDATE? I am geting a NULL back.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER