Capturing Updated records

suggest change

Sometimes one wants to capture the records that have just been updated.

CREATE TABLE #TempUpdated(ID INT)

Update TableName SET Col1 = 42
    OUTPUT inserted.ID INTO #TempUpdated
    WHERE Id > 50

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


UPDATE:
*Capturing Updated records

Table Of Contents