I am looking for a SQL query that outputs the function definitions for all of the user defined functions in a database catalog.
I have found as far as
Similar to this solution: Query to list all stored procedures
SELECT * FROM DIDS0100.INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE = 'FUNCTION' AND LEFT(ROUTINE_NAME, 3) NOT IN ('fn_')