1

I am getting insufficient privilege error while trying to create custom views and tables under INFORMATION_SCHEMA even though I tried to create it with ACCOUNTADMIN role which has all the privileges on all objects across Snowflake.

I searched around Snowflake documentation but could not find satisfactory answer to it.

Is it obvious? can't I add any custom views or tables under INFORMATION_SCHEMA?

2
  • INFORMATION_SCHEMA holds information about objects in that database and is part of the Snowflake "application", you can't edit it or add anything to it. Commented Nov 13, 2021 at 13:13
  • if you want to add a view, just put it under some other schema, because a view can refer to any table from any database/schema using a full qualified name, so you need to be in the same schema. Commented Nov 14, 2021 at 3:07

1 Answer 1

1

It is not possible to edit INFORMATION_SCHEMA.

General Usage Notes

Each INFORMATION_SCHEMA schema is read-only (i.e. the schema, and all the views and table functions in the schema, cannot be modified or dropped).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.