In an UPDATE statement, columns are updated from left to right.
In einer UPDATE-Anweisung werden die Spalten von links nach rechts aktualisiert.
An aggregate may not appear in the set list of an UPDATE statement.
The Update statement modifies one or more columns in a table.
By default, the Update statement will affect all rows in the specified table.
Standardmäßig wirkt sich die Update -Anweisung auf alle Zeilen der angegebenen Relation aus.
Change rows in a table by the UPDATE statement
Your UPDATE statement contains an invalid SET clause, for example, there are multiple SET clauses for the same column.
Ihre Anweisung UPDATE enthält eine ungültige SET-Klausel, z.B. gibt es mehrere SET-Klauseln für dieselbe Spalte.
Using these expressions, the following Update statement is used.
Die folgende Update-Anweisung wird unter Verwendung dieser Ausdrücke ausgeführt.
Dynamically building the UPDATE statement at runtime may improve performance.
Following is an example of part of an UPDATE statement.
Folgendes Beispiel zeigt einen Ausschnitt der UPDATE-Anweisung.
Uses an UPDATE statement for each modified row.
Verwendet für jede geänderte Zeile eine UPDATE-Anweisung.
Updating a significant amount of data using the UPDATE statement also updates column statistics.
Das Aktualisieren großer Datenmengen mit der UPDATE-Anweisung aktualisiert auch die Spaltenstatistiken.
If a uniqueness violation still occurs, then the entire UPDATE statement is rolled back.
Wenn weiterhin eine Verletzung der Eindeutigkeit auftritt, wird die gesamte UPDATE-Anweisung zurückgesetzt.
To perform the updates, the UPDATE statement must obtain exclusive locks on both indexes.
Um die Aktualisierungen auszuführen, benötigen die UPDATE-Anweisung exklusive Sperren für beide Indizes.