Control statements, the main part of the procedure language in NexusDB SQL, add computational completeness to the SQL language with the Compound statement, SQL variable declarations, conditional statements, iterating statements and error handling.




CALL statement

RETURN statement

Compound statement

DECLARE variable statement

SET statement

IF statement

ITERATE statement

LEAVE statement

REPEAT statement

WHILE statement

SIGNAL statement

TRY statement