Procedural SQL Reference
This section contains information about SingleStore Procedural SQL (PSQL), which encompasses stored procedures, user-defined scalar-value functions (UDFs), user-defined table-valued functions (TVFs), and user-defined aggregate functions (UDAFs).
SingleStore also supports Wasm-based functions.
For information on when to use PSQL, Wasm-based, or external functions, refer to Choose Between PSQL, Wasm-based, and External Functions.
In this section
- Anonymous Code Blocks
- Control Flow Statements
- Exceptions and Exception Handling
- MySQL Client Delimiters
- Transactions in Stored Procedures
- CREATE AGGREGATE
- CREATE [OR REPLACE] EXTERNAL FUNCTION
- CREATE FUNCTION (UDF)
- CREATE FUNCTION (TVF)
- CREATE PROCEDURE
- CREATE [OR REPLACE] TEMPORARY PROCEDURE …
- DROP FUNCTION
- DROP PROCEDURE
- DROP AGGREGATE
- SHOW AGGREGATES
- SHOW CREATE FUNCTION
- SHOW CREATE AGGREGATE
- SHOW FUNCTIONS
- SHOW PROCEDURES
- ARRAY
- CALL
- CREATE_ARRAY
- COLLECT
- ECHO
- ECHO SELECT
- EXECUTE IMMEDIATE
- INSERT_ALL
- RECORD
- ROW
- QUERY
- SCALAR
- TO_QUERY
Last modified: August 14, 2024