Updating Specified Rows
suggest changeThis example uses the Cars Table from the Example Databases.
UPDATE
Cars
SET
Status = 'READY'
WHERE
Id = 4
This statement sets the status of the Cars row with id 4 to READY. In the sample that row is the Toyota Prius.
The WHERE clause is evaluated for each row. A row that meets it is updated. UNKNOWN results, including comparisons with NULL, leave the row unchanged.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents