0% found this document useful (0 votes)
43 views10 pages

Class1 SnowSQL

The document describes four editions of Snowflake - Standard, Enterprise, Business Critical, and Virtual Private Snowflake. Standard Edition provides basic features while Enterprise Edition adds additional features for large enterprises. Business Critical Edition offers higher data protection for sensitive data. Virtual Private Snowflake isolates accounts in a separate environment with the highest security level.

Uploaded by

snowflake batch
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views10 pages

Class1 SnowSQL

The document describes four editions of Snowflake - Standard, Enterprise, Business Critical, and Virtual Private Snowflake. Standard Edition provides basic features while Enterprise Edition adds additional features for large enterprises. Business Critical Edition offers higher data protection for sensitive data. Virtual Private Snowflake isolates accounts in a separate environment with the highest security level.

Uploaded by

snowflake batch
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Snowflake

Snowflake Connect Editions


Snowflake
Snowflake Connect Editions
•Standard Edition
Standard Edition is our introductory level offering, providing full, unlimited access to all of Snowflake’s standard features.
It provides a strong balance between features, level of support, and cost.
•Enterprise Edition
Enterprise Edition provides all the features and services of Standard Edition, with additional features designed
specifically for the needs of large-scale enterprises and organizations.
•Business Critical Edition
Business Critical Edition, formerly known as Enterprise for Sensitive Data (ESD), offers even higher levels of data
protection to support the needs of organizations with extremely sensitive data, particularly PHI data that must comply with
HIPAA and HITRUST CSF regulations.
It includes all the features and services of Enterprise Edition, with the addition of enhanced security and data protection.
In addition, database failover/failback adds support for business continuity and disaster recovery.
•Virtual Private Snowflake (VPS)
Virtual Private Snowflake offers our highest level of security for organizations that have the strictest requirements, such
as financial institutions and any other large enterprises that collect, analyze, and share highly sensitive data.
It includes all the features and services of Business Critical Edition, but in a completely separate Snowflake environment,
isolated from all other Snowflake accounts (i.e. VPS accounts do not share any resources with accounts outside the VPS).
Snowflake
Snowflake Connect Connect
Work Sheet Overview
Downloads
Snow SQL
1. Download your SnowSQL Client By Clicking on the Below URL
• https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/index.html
• Choose Version 1.2
• Click on Windows_x86_64
• Click On https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/1.2/windows_x86_64/snowsql-
1.2.5-windows_x86_64.msi
2. Install the SnowSQL Client
3. Connecting to Snowflake Account
• Type CMD in your Windows Search Bar (On the Left Bottom)
• In your Command Line Give the Following commands
• snowsql -a <account Name> -u <user Name>
• Eg: If your snoflake URL is : https://uy86195.ap-southeast-1.snowflakecomputing.com/
• Your Account Name : uy86195.ap-southeast-1
• if you have your account ending uy86195.ap-southeast-1.aws.snowflakecomputing.com
• Your Account : uy86195.ap-southeast-1
• Your User Name : The User name that you Enter While Logging into Snowflake Web URL
• Your Password : Same as the password that you use for logging into snowflake Web URL
Snow SQL
1. Choosing Your Database & Schema
2. Your Prompt Will Be like
3. <UserName>#compute_wh@(no_database).(no_schema)>
1. choose your Database
2. <user>#compute_wh> use database sfdb_dev;
3. Choose Your Schema
4. <user>#compute_wh@sfdb_dev.public> use schema sf_schemaSnow SQL Commands
4. Show Tables;
5. Show Stages;
6. Viewing Stages
1. For Viewing User Stage
2. List @~;
3. For Viewing Table Stage
4. List @%<table name>;
5. For Viewing Named Internal Stage
6. List @my_stage;
SnowSQL – Example From Screen
Snowsql – Captured From the Command Line
Please Look the Steps Carefully ..
1.Microsoft Windows [Version 10.0.17134.1401]
2.(c) 2018 Microsoft Corporation. All rights reserved.

3.C:\Users\nitnaik>snowsql -a uy86195.ap-southeast-1 -u snowflaketraining


4.Installing version: 1.2.5 [####################################] 100%
5.Password:
6.* SnowSQL * v1.2.5
7.Type SQL statements or !help
8.snowflaketraining#COMPUTE_WH@(no database).(no schema)>use DATABASE CHENNA_DB;
9.+----------------------------------+
10.| status |
11.|----------------------------------|
12.| Statement executed successfully. |
13.+----------------------------------+
14.1 Row(s) produced. Time Elapsed: 0.143s
15.snowflaketraining#COMPUTE_WH@CHENNA_DB.PUBLIC>use SCHEMA CHENNA_SCHEMA;
16.+----------------------------------+
17.| status |
18.|----------------------------------|
19.| Statement executed successfully. |
20.+----------------------------------+
21.1 Row(s) produced. Time Elapsed: 0.113s
22.snowflaketraining#COMPUTE_WH@CHENNA_DB.CHENNA_SCHEMA>show TABLES;
23.+-------------------------------+------+---------------+-------------+-------+---------+------------+------+-------+----------+----------------+----------------------+-----------------+
24.| created_on | name | database_name | schema_name | kind | comment | cluster_by | rows | bytes | owner | retention_time | automatic_clustering | change_tracking |
25.|-------------------------------+------+---------------+-------------+-------+---------+------------+------+-------+----------+----------------+----------------------+-----------------|
26.| 2020-05-14 20:51:22.386 -0700 | EMP | CHENNA_DB | CHENNA_SCHEMA | TABLE | | | 0 | 0 | SYSADMIN | 1 | OFF | OFF |
27.+-------------------------------+------+---------------+-------------+-------+---------+------------+------+-------+----------+----------------+----------------------+-----------------+
28.1 Row(s) produced. Time Elapsed: 0.473s
29.snowflaketraining#COMPUTE_WH@CHENNA_DB.CHENNA_SCHEMA>Show Stages;
30.+------------+------+---------------+-------------+-----+-----------------+--------------------+-------+---------+--------+------+-------+----------------------+---------------------+
31.| created_on | name | database_name | schema_name | url | has_credentials | has_encryption_key | owner | comment | region | type | cloud | notification_channel | storage_integration |
32.|------------+------+---------------+-------------+-----+-----------------+--------------------+-------+---------+--------+------+-------+----------------------+---------------------|
33.+------------+------+---------------+-------------+-----+-----------------+--------------------+-------+---------+--------+------+-------+----------------------+---------------------+
SnowSQL
1.snowflaketraining#COMPUTE_WH@CHENNA_DB.CHENNA_SCHEMA>List @~;
2.+-----------------------------------------------------+------+----------------------------------+-------------------------------+
3.| name | size | md5 | last_modified |
4.|-----------------------------------------------------+------+----------------------------------+-------------------------------|
5.| emp.csv.gz | 336 | af7534b24f4d822b11a3fcd72c3117ec | Wed, 25 Dec 2019 12:18:15 GMT |
6.| my_stage/emp.csv.gz | 336 | ee3dc2ac481cc6da1b6ea1e097793f2c | Wed, 25 Dec 2019 10:38:46 GMT |
7.| sfdb_stage/emp.csv.gz | 336 | dab7d612e6b29049f677df7a82cc3ae0 | Wed, 25 Dec 2019 12:15:40 GMT |
8.| worksheet_data/3237ab43-8801-4e48-bba4-6ec40af63f52 | 208 | 9f829e225e1b702710eab91a1f4baa24 | Fri, 15 May 2020 03:38:30 GMT |
9.| worksheet_data/49f44000-6d49-4b12-b8a9-62621483fdaf | 544 | 37e2f542583d6079167b63eea447abde | Fri, 15 May 2020 03:50:28 GMT |
10.| worksheet_data/63c3de17-c2eb-4db3-aa11-444a92958f25 | 1840 | 2f888e9bd882c8f7088cd46c2d3bfb61 | Wed, 13 May 2020 07:20:17 GMT |
11.| worksheet_data/metadata | 3968 | bfdee0a02351a5cf0fdc6d8a3f817077 | Fri, 15 May 2020 03:50:29 GMT |
12.+-----------------------------------------------------+------+----------------------------------+-------------------------------+
13.19 Row(s) produced. Time Elapsed: 0.466s
14.snowflaketraining#COMPUTE_WH@CHENNA_DB.CHENNA_SCHEMA>show TABLES;
15.+-------------------------------+------+---------------+-------------+-------+---------+------------+------+-------+----------+----------------+----------------------+-----------------+
16.| created_on | name | database_name | schema_name | kind | comment | cluster_by | rows | bytes | owner | retention_time | automatic_clustering | change_tracking |
17.|-------------------------------+------+---------------+-------------+-------+---------+------------+------+-------+----------+----------------+----------------------+-----------------|
18.| 2020-05-14 20:51:22.386 -0700 | EMP | CHENNA_DB | CHENNA_SCHEMA | TABLE | | | 0 | 0 | SYSADMIN | 1 | OFF | OFF |
19.+-------------------------------+------+---------------+-------------+-------+---------+------------+------+-------+----------+----------------+----------------------+-----------------+
20.1 Row(s) produced. Time Elapsed: 0.457s
21.snowflaketraining#COMPUTE_WH@CHENNA_DB.CHENNA_SCHEMA>list @%emp;
22.+------+------+-----+---------------+
23.| name | size | md5 | last_modified |
24.|------+------+-----+---------------|
25.+------+------+-----+---------------+
26.0 Row(s) produced. Time Elapsed: 0.424s
27.snowflaketraining#COMPUTE_WH@CHENNA_DB.CHENNA_SCHEMA>create Stage My_Stage;
28.+-------------------------------------------+
29.| status |
30.|-------------------------------------------|
31.| Stage area MY_STAGE successfully created. |
32.+-------------------------------------------+
33.1 Row(s) produced. Time Elapsed: 0.144s
34.snowflaketraining#COMPUTE_WH@CHENNA_DB.CHENNA_SCHEMA>show stages;
35.+-------------------------------+----------+---------------+-------------+-----+-----------------+--------------------+----------+---------+--------+----------+-------+----------------------+---------------------+
36.| created_on | name | database_name | schema_name | url | has_credentials | has_encryption_key | owner | comment | region | type | cloud | notification_channel | storage_integration |
37.|-------------------------------+----------+---------------+-------------+-----+-----------------+--------------------+----------+---------+--------+----------+-------+----------------------+---------------------|
38.| 2020-05-18 05:47:49.838 -0700 | MY_STAGE | CHENNA_DB | CHENNA_SCHEMA | | N |N | SYSADMIN | | NULL | INTERNAL | NULL | NULL | NULL |
39.+-------------------------------+----------+---------------+-------------+-----+-----------------+--------------------+----------+---------+--------+----------+-------+----------------------+---------------------+
40.1 Row(s) produced. Time Elapsed: 0.130s
41.snowflaketraining#COMPUTE_WH@CHENNA_DB.CHENNA_SCHEMA>list @my_stage;
42.+------+------+-----+---------------+
43.| name | size | md5 | last_modified |
44.|------+------+-----+---------------|
45.+------+------+-----+---------------+
46.0 Row(s) produced. Time Elapsed: 0.147s
47.snowflaketraining#COMPUTE_WH@CHENNA_DB.CHENNA_SCHEMA>
Q&A
• ????????

You might also like