Skip to content

Commit 6ef4009

Browse files
authored
Snowflake connectors: how-to video embed links (#476)
1 parent 8ebfafd commit 6ef4009

File tree

1 file changed

+47
-46
lines changed

1 file changed

+47
-46
lines changed

snippets/general-shared-text/snowflake.mdx

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<iframe
44
width="560"
55
height="315"
6-
src="https://www.youtube.com/embed/6HNmxQWqmgg"
6+
src="https://www.youtube.com/embed/LgCjLyClg3o"
77
title="YouTube video player"
88
frameborder="0"
99
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
@@ -27,7 +27,7 @@
2727
<iframe
2828
width="560"
2929
height="315"
30-
src="https://www.youtube.com/embed/5hPrJNEa4aA?start=64&end=267"
30+
src="https://www.youtube.com/embed/sFLPGVe4VBM"
3131
title="YouTube video player"
3232
frameborder="0"
3333
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
@@ -47,7 +47,49 @@
4747
SHOW USERS LIKE '<my-user>';
4848
```
4949

50-
- The Snowflake warehouse's [hostname and its port number](https://docs.snowflake.com/sql-reference/functions/system_allowlist) in the account.
50+
- The name of the Snowflake [role](https://docs.snowflake.com/sql-reference/sql/create-role) that the user belongs to and that also has sufficient access to the Snowflake database, schema, table, and host.
51+
52+
<iframe
53+
width="560"
54+
height="315"
55+
src="https://www.youtube.com/embed/cxe2Ed_-qkM"
56+
title="YouTube video player"
57+
frameborder="0"
58+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
59+
allowfullscreen
60+
></iframe>
61+
62+
- To create a database in Snowflake, the role needs to be granted `CREATE DATABASE` privilege at the current account level; and `USAGE` privilege on the warehouse that is used to create the database.
63+
- To create a schema in a database in Snowflake, the role needs to be granted `USAGE` privilege on the database and the warehouse that is used to create the schema; and `CREATE SCHEMA` on the database.
64+
- To create a table in a schema in Snowflake, the role needs to be granted `USAGE` privilege on the database and schema and the warehouse that is used to create the table; and `CREATE TABLE` on the schema.
65+
- To write to a table in Snowflake, the role needs to be granted `USAGE` privilege on the database and schema and the warehouse that is used to write to the table; and `INSERT` on the table.
66+
- To read from a table in Snowflake, the role needs to be granted `USAGE` privilege on the database and schema and the warehouse that is used to write to the table; and `SELECT` on the table.
67+
68+
To view a list of available roles in the current Snowflake account:
69+
70+
1. Log in to [Snowsight](https://docs.snowflake.com/user-guide/ui-snowsight-homepage) with your Snowflake account.
71+
2. In Snowsight, on the navigation menu, click **Admin > Users & Roles**.
72+
3. Click the **Roles** tab.
73+
74+
Alternatively, the following Snowflake query returns a list of available roles in the current account:
75+
76+
```text
77+
SHOW ROLES;
78+
```
79+
80+
[Grant privileges to a role](https://docs.snowflake.com/sql-reference/sql/grant-privilege). [Learn more](https://docs.snowflake.com/user-guide/security-access-control-privileges).
81+
82+
- The Snowflake warehouse's [hostname and its port number](https://docs.snowflake.com/sql-reference/functions/system_allowlist) in the account.
83+
84+
<iframe
85+
width="560"
86+
height="315"
87+
src="https://www.youtube.com/embed/ItLW0N1uEOI"
88+
title="YouTube video player"
89+
frameborder="0"
90+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
91+
allowfullscreen
92+
></iframe>
5193

5294
To view a list of available warehouses in the current Snowflake account:
5395

@@ -68,7 +110,7 @@
68110
<iframe
69111
width="560"
70112
height="315"
71-
src="https://www.youtube.com/embed/KrXCgpsRd0A"
113+
src="https://www.youtube.com/embed/f49tin_Pehs"
72114
title="YouTube video player"
73115
frameborder="0"
74116
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
@@ -88,16 +130,6 @@
88130

89131
- The name of the [schema](https://docs.snowflake.com/sql-reference/sql/create-schema) in the database.
90132

91-
<iframe
92-
width="560"
93-
height="315"
94-
src="https://www.youtube.com/embed/4SoS_c6rT_U?start=97&end=157"
95-
title="YouTube video player"
96-
frameborder="0"
97-
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
98-
allowfullscreen
99-
></iframe>
100-
101133
To view a list of available schemas for a database in the current Snowflake account:
102134

103135
1. Log in to [Snowsight](https://docs.snowflake.com/user-guide/ui-snowsight-homepage) with your Snowflake account.
@@ -118,16 +150,6 @@
118150

119151
- The name of the [table](https://docs.snowflake.com/sql-reference/sql/create-table) in the schema.
120152

121-
<iframe
122-
width="560"
123-
height="315"
124-
src="https://www.youtube.com/embed/ZaZzqFMGe1g?end=169"
125-
title="YouTube video player"
126-
frameborder="0"
127-
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
128-
allowfullscreen
129-
></iframe>
130-
131153
To view a list of available tables for a schema in a database in the current Snowflake account:
132154

133155
1. Log in to [Snowsight](https://docs.snowflake.com/user-guide/ui-snowsight-homepage) with your Snowflake account.
@@ -192,25 +214,4 @@
192214
);
193215
```
194216

195-
- The name of the column in the table that uniquely identifies each record (for example, `RECORD_ID`).
196-
- The name of the Snowflake [role](https://docs.snowflake.com/sql-reference/sql/create-role) that the user belongs to and that also has sufficient access to the Snowflake database, schema, table, and host.
197-
198-
- To create a database in Snowflake, the role needs to be granted `CREATE DATABASE` privilege at the current account level; and `USAGE` privilege on the warehouse that is used to create the database.
199-
- To create a schema in a database in Snowflake, the role needs to be granted `USAGE` privilege on the database and the warehouse that is used to create the schema; and `CREATE SCHEMA` on the database.
200-
- To create a table in a schema in Snowflake, the role needs to be granted `USAGE` privilege on the database and schema and the warehouse that is used to create the table; and `CREATE TABLE` on the schema.
201-
- To write to a table in Snowflake, the role needs to be granted `USAGE` privilege on the database and schema and the warehouse that is used to write to the table; and `INSERT` on the table.
202-
- To read from a table in Snowflake, the role needs to be granted `USAGE` privilege on the database and schema and the warehouse that is used to write to the table; and `SELECT` on the table.
203-
204-
To view a list of available roles in the current Snowflake account:
205-
206-
1. Log in to [Snowsight](https://docs.snowflake.com/user-guide/ui-snowsight-homepage) with your Snowflake account.
207-
2. In Snowsight, on the navigation menu, click **Admin > Users & Roles**.
208-
3. Click the **Roles** tab.
209-
210-
Alternatively, the following Snowflake query returns a list of available roles in the current account:
211-
212-
```text
213-
SHOW ROLES;
214-
```
215-
216-
[Grant privileges to a role](https://docs.snowflake.com/sql-reference/sql/grant-privilege). [Learn more](https://docs.snowflake.com/user-guide/security-access-control-privileges).
217+
- The name of the column in the table that uniquely identifies each record (for example, `RECORD_ID`).

0 commit comments

Comments
 (0)