Important
The SingleStore 9.1 release candidate (RC) gives you the opportunity to preview, evaluate, and provide feedback on new and upcoming features prior to their general availability. In the interim, SingleStore 9.0 is recommended for production workloads, which can later be upgraded to SingleStore 9.1.
SHOW FUNCTIONS
On this page
Lists any existing user-defined functions in the specified database, including user-defined scalar-valued functions (UDFs) and user-defined table-valued functions (TVFs).
Syntax
SHOW FUNCTIONS [{FROM | IN} database_name] [LIKE pattern]
Remarks
-
The
SHOW FUNCTIONScommand can be used to list functions in the current database or in another database.The function list returns the name for each function and who is the function definer. To show user-defined aggregate functions (UDAFs), see SHOW AGGREGATES. Use SHOW PROCEDURES to list stored procedures. -
The Data Format column can be one of: JSON or ROWDAT_
1. -
The Link column shows the Connection Link.
-
When function overloading is enabled, the output of
SHOW FUNCTIONSincludes columns for a function's arguments and variant ID.For overloaded functions, the columns contain the arguments and variant IDs. For non-overloaded functions, the columns display NULL. Refer to Overloaded Functions and Stored Procedures for more information.
Example - List Functions
The following example lists each function in the current database.
SHOW FUNCTIONS;
+---------------------+-----------------------+---------+-------------+----------------+-----------+
| Functions_in_testDB | Function Type | Definer | Data Format | Runtime Type | Link |
+---------------------+-----------------------+---------+-------------+----------------+-----------+
| tvf_1 | Table Valued Function | root@% | | PSQL | |
| check_spacingExt | User Defined Function | root@% | JSON | Remote Service | HTTP_link |
+---------------------+-----------------------+---------+-------------+----------------+-----------+Example - List Overloaded Functions
The following shows the output of SHOW FUNCTIONS with function overloading enabled.print_ functions from Overloaded Functions and Stored Procedures.
SHOW FUNCTIONS;
+-------------------+-----------+-----------------------+------------+---------+-------------+--------------+------+---------+
| Functions_in_test | Arguments | Function Type | Variant ID | Definer | Data Format | Runtime Type | Link | Options |
+-------------------+-----------+-----------------------+------------+---------+-------------+--------------+------+---------+
| print_type | BIGINT | User Defined Function | 1 | root@% | | PSQL | | |
| print_type | INT | User Defined Function | 0 | root@% | | PSQL | | |
+-------------------+-----------+-----------------------+------------+---------+-------------+--------------+------+---------+Related Topics
Last modified: March 17, 2026