# User-Defined Scalar-Valued Functions (UDFs)

UDFs can accept input parameters, call other UDFs, define custom logic using control flow statements and variable assignment, and return a value. See the [CREATE FUNCTION (UDF)](https://docs.singlestore.com/db/v9.1/reference/sql-reference/procedural-sql-reference/create-function-udf.md) topic for more information.

***

Modified at: April 28, 2021

Source: [/db/v9.1/developer-resources/procedural-extensions/user-defined-scalar-valued-functions-udfs/](https://docs.singlestore.com/db/v9.1/developer-resources/procedural-extensions/user-defined-scalar-valued-functions-udfs/)

(An index of the documentation is available at /llms.txt)
