HP NonStop SQL/MX Messages Manual page 334

Table of Contents

Advertisement

Trigger, UDR Server, and Language Manager
Messages (11000 through 11399)
SQL 11015
11015 An AFTER trigger does not support the SET operation.
Cause. You attempted to use the SET operation as an action for an after trigger.
Effect. The operation fails.
Recovery. You cannot modify the transition name in an AFTER trigger. Use the
UPDATE statement instead as an action for the trigger.
SQL 11016
11016 A BEFORE trigger that uses SET must have REFERENCING
NEW clause.
Cause. You attempted to use the SET operation in a BEFORE trigger but the
REFERENCING NEW clause is missing from the CREATE TRIGGER statement.
Effect. The operation fails.
Recovery. Add a REFERENCING NEW clause to the CREATE TRIGGER statement
and resubmit.
SQL 11017
11017 The left hand side of a SET assignment must be
qualified with the name of the NEW transition variable.
Cause. You specified a SET operation as an action for your BEFORE trigger, but the
SET assignment is to an identifier.
Effect. The operation fails.
Recovery. Prefix the assignment to the SET operation with the NEW transition
variable name and resubmit.
SQL 11018
11018 An empty or unsupported trigger action was specified.
Cause. An attempt was made during DDL to create an AFTER trigger with an
unsupported action. In particular, this error is raised if the trigger action is a compound
statement, an embedded DELETE, or an embedded UPDATE.
Effect. The operation fails.
Recovery. Add an action to the trigger statement and use a supported action for the
trigger. Before triggers support only SET and SIGNAL operations, while AFTER
triggers support INSERT, UPDATE, DELETE, and SIGNAL operations.
HP NonStop SQL/MX Messages Manual—640324-001
13- 4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nonstop sql/mx 3.0

Table of Contents