CREATE FUNCTION

suggest change

Syntax

function_body 
RETURN scalar_expression

END

Parameters

Argument | Description |
—— | —— |
function_name | the name of the function |
list_of_parameters | parameters that the function accepts |
return_data_type | the type that the function returns. Some SQL data type |
function_body | the code of the function |
scalar_expression | the scalar value returned by the function |

Remarks

CREATE FUNCTION creates a user-defined function. The syntax above is not portable; parameter lists and function bodies differ by dialect. Functions may return a scalar value or a table.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents