Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find stored procedures and functions from all schemas in Snowflake?

How to find stored procedures and functions from all schemas in Snowflake?

Table Information_schema.procedure gives details from individual database only. I need to find it out from all schema in system. How can I do it in Snowflake?

Thank you, Shrini

like image 734
Shrini Avatar asked Oct 18 '25 15:10

Shrini


1 Answers

SHOW PROCEDURES IN ACCOUNT;

SHOW USER FUNCTIONS IN ACCOUNT;

Both of these will list all objects that your current role has access to. If run as ACCOUNTADMIN, they will return everything.

like image 125
AndrewM Avatar answered Oct 22 '25 06:10

AndrewM



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!