While creating a UDF in databricks SQL, how can I declare a local variable? Something like this? CREATE OR REPLACE FUNCTION len() set myString = 'my value'; RETURNS INT RETURN length(myString);

RV
New Contributor II