statement

CALL

Invokes a stored procedure. Its side effects depend on the procedure body and transaction context. Example target: PostgreSQL 17. Use only the isolated starter dataset; setup and expected results are in the batch evidence.

Formal Syntax & Structure

sql syntaxsql
CALL procedure_name(arguments)

Working Example

Example Snippetsql
CREATE PROCEDURE lab_add() LANGUAGE SQL AS 'INSERT INTO customers VALUES (4, ''Mina'')';CALL lab_add();
SQL Reference