I have a stored procedure that updates my table data.
update tbl_duty
set Name = @DName,
Necessity = @DNecessity,
Payment = @DPayment,
[Estimation Time] = @DEstimationTime,
Term = @DTerm,
[Description] = @DDescription
where
Id = "what can I put here"
but I don't now how get the ID
of column to update because it generated itself (identity
column)
Anyone can help me?
Do we have something like GETIDENTITY(column name)
?