update sql change value code example
Example 1: how to change the value of a table in sql
UPDATE employees
SET
address = '1300 Carter St',
city = 'San Jose',
postalcode = 95125,
region = 'CA'
WHERE
employeeID = 3;
Example 2: how to update date value in sql
UPDATE TABLE
SET EndDate = CAST('2009-05-25' AS DATETIME)
WHERE Id = 1