--- title: "Update" sidebarTitle: "Update" description: "UPDATE ... SET ... WHERE — and why it does not recompute derived columns." icon: pen keywords: ["update", "sql"] --- Enterprise [SQL runs on a deployment.](/sql) ```sql UPDATE documents SET title = upper(title) WHERE category = 'film' ``` Assignments take any expression the [dialect](/sql/functions) supports, including references to other columns of the same row. Without a `WHERE` clause every row is updated. An update does not recompute [computed columns](/feature-engineering/add-computed-column) that derive from the column you changed. A filled value keeps what it was computed from -- see [Guarantees](/basics/guarantees#jobs). Commits a new table version, so [versioning](/management/table#versioning) and the [write guarantees](/basics/guarantees#writes) apply -- including that the version advances even when the statement affects zero rows. ## What to read next {#next} The SDK equivalent.