This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:sql:statements:update:home [2010/07/02 18:13] tdo |
dev:sql:statements:update:home [2016/06/28 22:38] (current) |
||
---|---|---|---|
Line 15: | Line 15: | ||
[WITH options] | [WITH options] | ||
- | |||
===== Discussion ===== | ===== Discussion ===== | ||
- | == tablespec == | + | == table_spec == |
Required. The name of the table containing the data to be updated. | Required. The name of the table containing the data to be updated. | ||
Line 41: | Line 40: | ||
===== Examples ===== | ===== Examples ===== | ||
- | ==== Simple ==== | ||
UPDATE INVENTORY SET PRICE=10.95 WHERE PRICE=9.95 | UPDATE INVENTORY SET PRICE=10.95 WHERE PRICE=9.95 | ||
- | |||
- | This example creates an OST that contains customers who have canceled their order. Then customers whose orders are on back order, are added to the OST. | ||
{{page>:bottom_add&nofooter&noeditbtn}} | {{page>:bottom_add&nofooter&noeditbtn}} |