Hi,
How can I update multiple rows using a single SQL command, one of the columns involved is the primary key (User):
Example:
UPDATE MyTable SET Status = true WHERE User = 'John'
UPDATE MyTable SET Status = false WHERE User = 'Peter'
How can I do this with one SQL command.
Thanks, regards
How can I update multiple rows using a single SQL command, one of the columns involved is the primary key (User):
Example:
UPDATE MyTable SET Status = true WHERE User = 'John'
UPDATE MyTable SET Status = false WHERE User = 'Peter'
How can I do this with one SQL command.
Thanks, regards