Prev | SQL Engine Reference | Next |
SET VARIABLE
SET assigns a value to a declared variable.
Syntax
SET variable-name = proc-exprRemarks
You must declare variables before you can set them. SET is allowed only in stored procedures and triggers.
Examples
The following examples assigns a value of 10 to var1.
SET :var1 = 10;See Also
Prev SET TRUENULLCREATE |
Contents Up Check for Revisions | Next SIGNAL |