Pervasive logo

Prev SQL Engine Reference Next

SET VARIABLE


SET assigns a value to a declared variable.

Syntax

SET variable-name = proc-expr 

Remarks

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

CREATE PROCEDURE

DECLARE


Prev
SET TRUENULLCREATE
Contents
Up
Check for Revisions
Next
SIGNAL