The UPDATE statement may cause a row to move in the cursor.
In an UPDATE statement, columns are updated from left to right.
In einer UPDATE-Anweisung werden die Spalten von links nach rechts aktualisiert.
Dynamically building the UPDATE statement at runtime may improve performance.
The UPDATE statement can modify one or more records and generally takes this form
Die UPDATE -Anweisung kann jeweils einen oder mehrere Datensätze ändern und hat meistens folgendes Format
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.
An aggregate may not appear in the set list of an UPDATE statement.
In der SET-Liste einer UPDATE-Anweisung darf kein Aggregat auftreten.
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.
A simple form of the UPDATE statement has this syntax
Eine einfache Form der UPDATE-Anweisung hat folgende Syntax