Typically performs database operations, usually administrative operations like INSERT, UPDATE or DELETE.
Doesn't need to return value.
Supported languages are,
- Snowflake scripting (Snowflake SQL + procedural logic)
- Javascript
- Snowpark API (Python, Scala & Java)
- If argument is used in sql statement to refer to as an object then use IDENTIFIER(:argument)
- If argument is used in sql statement then use :argument
- Runs either with caller's or owner's rights.
- By default, will run with owner's privileges