Relative Content

Tag Archive for snowflake-cloud-data-platform

List all tables within a select statement in Snowflake

I have query in Snowflake that is near a thousand line. Is there a way to easily see what tables are accessed to easily list it? This will need to be done for many files, so if there is a quick & easy way to list all the tables it would be wonderful.

Database roles with access to Account_Usage view in Snowflake

I am trying to share the data of SNOWFLAKE.ACCOUNT_USAGE view with roles that are not ACCOUNTADMIN. I do not want to grant them ACCOUNTADMIN privileges.
So, as per the Snowflake documentation, I tried exploring database roles. As per the Snowflake documentation https://docs.snowflake.com/en/sql-reference/snowflake-db-roles “ACCOUNT_USAGE schemas have four defined SNOWFLAKE database roles, each granted the SELECT privilege on specific views.”

Database roles with access to Account_Usage view in Snowflake

I am trying to share the data of SNOWFLAKE.ACCOUNT_USAGE view with roles that are not ACCOUNTADMIN. I do not want to grant them ACCOUNTADMIN privileges.
So, as per the Snowflake documentation, I tried exploring database roles. As per the Snowflake documentation https://docs.snowflake.com/en/sql-reference/snowflake-db-roles “ACCOUNT_USAGE schemas have four defined SNOWFLAKE database roles, each granted the SELECT privilege on specific views.”