Quantcast
Viewing all articles
Browse latest Browse all 13

Update SQL Server and return ID of row updated

So you want to update a single row in your table and then return the row identifier that was affected, here’s one way of going about it. Remember SCOPE_IDENTITY() is about inserting so as we are updating here we need a little something different. This will update a single record and output the id of […]

Viewing all articles
Browse latest Browse all 13

Trending Articles