- Using SQL - Using the console and your own code - Using the Cloud API (beta) - Using Terraform (beta) SQL user-defined functions SQL UDFs can be created using theCREATE FUNCTION statement from a lambda expression.