diff --git a/site/sfguides/src/getting_started_with_cortex_analyst/getting_started_with_cortex_analyst.md b/site/sfguides/src/getting_started_with_cortex_analyst/getting_started_with_cortex_analyst.md index e546504ad..cd6762887 100644 --- a/site/sfguides/src/getting_started_with_cortex_analyst/getting_started_with_cortex_analyst.md +++ b/site/sfguides/src/getting_started_with_cortex_analyst/getting_started_with_cortex_analyst.md @@ -89,8 +89,8 @@ COMMENT = 'Warehouse for Cortex Analyst demo'; GRANT USAGE ON WAREHOUSE cortex_analyst_wh TO ROLE cortex_user_role; GRANT OPERATE ON WAREHOUSE cortex_analyst_wh TO ROLE cortex_user_role; -GRANT OWNERSHIP ON DATABASE cortex_analyst_demo TO ROLE cortex_user_role; GRANT OWNERSHIP ON SCHEMA cortex_analyst_demo.revenue_timeseries TO ROLE cortex_user_role; +GRANT OWNERSHIP ON DATABASE cortex_analyst_demo TO ROLE cortex_user_role; USE ROLE cortex_user_role;