Functions
About
Creating
/*
p1 type.. Make a list of parameters separated by commas
RETURNS Specify the return data type
LANGUAGE Define the language in which the function was written
*/
CREATE OR REPLACE FUNCTION function_name (p1 type, p2 type, ...)
RETURNS return_type AS
BEGIN
-- function logic
END;
LANGUAGE language_nameExamples
Calling
Deleting
Usage
Returning void
Returning composite
Returning multiple rows
Access parameters
Default values
Using as source
Last updated