I moving from different SQL languages and I want to UPDATE a table and to return some of its columns as below.
Here is how I done it in postgreSQL -
UPDATE account
SET last_login = CURRENT_TIMESTAMP
RETURNING email, created_on, last_login
how do I return certain columns in MS SQL ?