CREATE FUNCTION
Description
This command defines a user-defined function (UDF) within the database. These functions encapsulate reusable logic that can be invoked within SQL queries.
Grammar Syntax
The following is the SQL syntax to create a view in Amazon Redshift. Click here to here to go to Redshifts specification for this syntax.
SQL Language
Volatility category
In Snowflake, VOLATILE
and IMMUTABLE
function volatility are functionally equivalent. Given that STABLE
is inherently transformed to the default VOLATILE
behavior, explicit use of STABLE
will be delete.
Input Code:
Output Code:
Python Language
Within the SnowConvert scope, the Python language for CREATE FUNCTION
statements is not supported. Consequently, any CREATE FUNCTION
statement utilizing Python will be flagged with an EWI (SSC-EWI-0001 )indicator for parsing error.
Input Code:
Output Code:
Related EWIs
There are no known EWIs.
Last updated