Как обновить значение даты в SQL
UPDATE TABLE
SET EndDate = CAST('2009-05-25' AS DATETIME)
WHERE Id = 1
Repulsive Reindeer
UPDATE TABLE
SET EndDate = CAST('2009-05-25' AS DATETIME)
WHERE Id = 1
UPDATE `table_name` SET `column1` = value1, `column2` = value2 WHERE condition;
UPDATE Table_name
-- The desired value
SET Column_name = desired_value
-- Any value, of the item, of which one value you want to change
WHERE Column_name = value
UPDATE sakila.actor # table to update
SET first_name = "Bryan", last_name = "Besmond" # fields to be added/updated
WHERE actor_id = 201; # boolean condition
UPDATE table_name
SET column_name1 = value1, column_name2 = value2
WHERE condition;
UPDATE table_name
SET column1 = value1, column2 = value2...., columnN = valueN
WHERE [condition];