Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
dev:sql:statements:update:home [2009/11/30 15:37]
127.0.0.1 external edit
dev:sql:statements:update:home [2016/06/28 22:38] (current)
Line 1: Line 1:
 {{page>:​top_add&​nofooter&​noeditbtn}} {{page>:​top_add&​nofooter&​noeditbtn}}
 <​html><​div align="​center"><​span style="​color:​red">​DRAFT</​span></​div></​html>​ <​html><​div align="​center"><​span style="​color:​red">​DRAFT</​span></​div></​html>​
 +====== Omnidex SQL UPDATE ======
 +{{page>:​sql_bar&​nofooter&​noeditbtn}}
 +
  
-====== Omnidex SQL: ====== 
 ===== Description ===== ===== Description =====
  
 Update existing data in a database. Update existing data in a database.
- 
 ===== Syntax ===== ===== Syntax =====
  
-  UPDATE ​tablespec ​SET column-assignments ​+  UPDATE ​table_spec ​SET column-assignments ​
       [WHERE < predicate-list | CURRENT >        [WHERE < predicate-list | CURRENT > 
       [ < ON / OF > [ CURSOR ] cursor ] ]        [ < ON / OF > [ CURSOR ] cursor ] ] 
Line 16: Line 17:
 ===== 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 39: 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}}
 
Back to top
dev/sql/statements/update/home.1259595427.txt.gz ยท Last modified: 2016/06/28 22:38 (external edit)