HP Neoview SQL Reference Manual page 91

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

STREAM (table)
deletes a continuous data stream from the specified table. You cannot specify stream access
for the DELETE statement if it is not embedded as a table reference in a SELECT statement.
See
"SELECT Statement" (page
[AFTER LAST ROW]
causes the stream to skip all existing rows in the table and delete only rows that are
published after the statement is issued.
SET ON ROLLBACK set-roll-clause [,set-roll-clause]...
causes one or more columns to be updated when the execution of the DELETE statement
causes its containing transaction to be rolled back.
set-roll-clause
sets the specified column to a particular value. For each set-roll-clause, the value
of the specified target column-name is replaced by the value of the update source
expression. The data type of each target column must be compatible with the data
type of its source value.
column-name
names a column in table to update. You cannot qualify or repeat a column name.
You cannot update the value of a column that is part of the primary key.
expression
is an SQL value expression that specifies a value for the column. The expression
cannot contain an aggregate function defined on a column. The data type of
expression must be compatible with the data type of column-name. A scalar
subquery in expression cannot refer to the table being updated.
If expression refers to columns being updated, Neoview SQL uses the original
values to evaluate the expression and determine the new value.
See
"Expressions" (page
WHERE search-condition
specifies a search condition that selects rows to delete. Within the search condition, any
columns being compared are columns in the table or view being deleted from. See
Condition" (page
If you do not specify a search condition, all rows in the table or view are deleted. You can
also delete all the rows from a table using the PURGEDATA utility.
[FOR] access-option ACCESS
specifies the access option required for data used to evaluate the search condition. See
Consistency and Access Options" (page
READ COMMITTED
specifies that any data used to evaluate the search condition must come from committed
rows.
SERIALIZABLE | REPEATABLE READ
specifies that the DELETE statement and any concurrent process (accessing the same
data) execute as if the statement and the other process had run serially rather than
concurrently.
SKIP CONFLICT
enables transactions to skip rows locked in a conflicting mode by another transaction.
The rows under consideration are the result of evaluating the search condition for the
DELETE statement. You cannot use the SKIP CONFLICT in a SET TRANSACTION
statement.
The default access option is the isolation level of the containing transaction.
141).
208).
248).
30).
"Search
"Data
DELETE Statement
91

Advertisement

Table of Contents
loading

Table of Contents