This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dev:sql:statements:delete:home [2009/12/04 06:26] tdo |
dev:sql:statements:delete:home [2016/06/28 22:38] (current) |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <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: DELETE ====== | ====== Omnidex SQL: DELETE ====== | ||
| - | ===== Description ===== | ||
| {{page>:sql_bar&nofooter&noeditbtn}} | {{page>:sql_bar&nofooter&noeditbtn}} | ||
| - | Delete rows from a table according to specified criteria. | + | ===== Description ===== |
| + | Delete rows from a table according to specified criteria. | ||
| ===== Syntax ===== | ===== Syntax ===== | ||
| - | DELETE FROM tablespec | + | DELETE FROM table_spec |
| [WHERE < predicate-list | CURRENT > | [WHERE < predicate-list | CURRENT > | ||
| [ < ON / OF > [ CURSOR ] cursor | [ < ON / OF > [ CURSOR ] cursor | ||
| Line 15: | Line 15: | ||
| ===== Discussion ===== | ===== Discussion ===== | ||
| - | == tablespec == | + | == table_spec == |
| Required. table is the name of the table in the database that contains the rows to be deleted. | Required. table is the name of the table in the database that contains the rows to be deleted. | ||
| Line 25: | Line 25: | ||
| CURRENT - Delete only the current row. | CURRENT - Delete only the current row. | ||
| - | == [ON [CURSOR] cursor] == | + | == [ON [CURSOR] cursor_no] == |
| Optional. The cursor on which to perform the delete. If omitted, the delete will be performed on the current cursor. | Optional. The cursor on which to perform the delete. If omitted, the delete will be performed on the current cursor. | ||