This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // =========================================================================== | |
| // Welcome! | |
| // | |
| // Log in to your Snowflake instance, create a new worksheet, then | |
| // copy and paste the contents of this file into your worksheet. | |
| // =========================================================================== | |
| // =========================================================================== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // =========================================================================== | |
| // Welcome! | |
| // | |
| // Log in to your Snowflake instance, create a new worksheet, then | |
| // copy and paste the contents of this file into your worksheet. | |
| // | |
| // Make sure you're using the ACCOUNTADMIN role before we get started | |
| // (see the context in the upper right corner of your worksheet) | |
| // | |
| // Next, head over to the Partner Connect page (link in the top right of the snowflake toolbar). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This SQL file is for the Hands On Lab Guide for the 30-day free Snowflake trial account | |
| // The numbers below correspond to the sections of the Lab Guide in which SQL is to be run in a Snowflake worksheet | |
| // Modules 1 and 2 of the Lab Guide have no SQL to be run | |
| // See the lab guide here - https://s3.amazonaws.com/snowflake-workshop-lab/InpersonZTS_LabGuide.pdf | |
| //===================================== | |
| // MODULE 1 | |
| // Steps to Prepare Your Lab Environment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //============================================================================= | |
| // create top level objects | |
| //============================================================================= | |
| USE ROLE SYSADMIN; | |
| // Database | |
| CREATE DATABASE STRUCTURE_WORKSPACE; | |
| // Warehouse | |
| CREATE WAREHOUSE STRUCTURE_WORKSPACE_WH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //============================================================================= | |
| // Set context | |
| //============================================================================= | |
| USE ROLE <YOUR_ROLE>; | |
| USE WAREHOUSE <YOUR_WAREHOUSE>; | |
| USE DATABASE <YOUR_DATABASE>; | |
| CREATE SCHEMA NETFLIX_STREAMS_AND_TASKS; | |
| //============================================================================= |
OlderNewer