File: 408_alter_function_snowflake_examples.sql

package info (click to toggle)
sqlfmt 0.29.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,580 kB
  • sloc: python: 10,007; sql: 5,626; makefile: 39
file content (24 lines) | stat: -rw-r--r-- 785 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
-- COPYRIGHT SNOWFLAKE
-- https://docs.snowflake.com/en/sql-reference/sql/alter-function.html
alter function if exists function1(number) rename to function2;
alter function function2(number) set secure;
alter function function4(number) set api_integration = api_integration_2;
alter function function5(number) set max_batch_rows = 100;
drop function multiply(number, number);
)))))__SQLFMT_OUTPUT__(((((
-- COPYRIGHT SNOWFLAKE
-- https://docs.snowflake.com/en/sql-reference/sql/alter-function.html
alter function if exists function1(number)
rename to function2
;
alter function function2(number)
set secure
;
alter function function4(number)
set api_integration = api_integration_2
;
alter function function5(number)
set max_batch_rows = 100
;
drop function multiply(number, number)
;