How to update a column value of multiple records in a table?

Scenario:

Update Column "X" in table "A" for an array of record identifiers of records in table "A". Value will be same value for all the list of record identifiers in their column "X".

Is this possible to achieve? If yes, how to do it, please share recipe or sample code.

  Discussion posts and replies are publicly visible