Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Snowflake Scripting - Writing Stored Procedures Using SQL
Rating: 4.6 out of 5(347 ratings)
3,283 students

Snowflake Scripting - Writing Stored Procedures Using SQL

Learn the concepts of Snowflake Scripting. And Learn how to write Stored Procedures and Functions using SQL Language.
Last updated 10/2024
English

What you'll learn

  • Learn the concepts of Snowflake Scripting
  • Learn How to write Stored Procedures using SQL
  • Understand complex Stored Procedures written by others
  • Learn how to write User Defined Functions(UDFs) in SQL

Course content

21 sections41 lectures10h 11m total length
  • Introduction8:25

    Explore Snowflake scripting to write stored procedures using SQL and other languages. Master variables, literals, execute immediate, flow control, debugging, cursors, transactions, UDFs, and SCD type one and two implementations.

  • How to download Course Material2:00

    Learn how to view and download course material, including PPT, query files, Excel sheets, and images, from the resources tab in each section.

Requirements

  • Basic idea on Snowflake Cloud
  • Basic SQL Knowledge
  • Knowledge on any programming language will be added advantage

Description

Hi, in this Snowflake Scripting course I have explained

1. The concepts of Snowflake Scripting.

2. Writing Stored Procedures.

3. Writing User Defined Functions(UDFs).

4. Generic Stored Procedures that can be used in Snowflake Projects.


This course will help you..

1. If you are struggling to understand complex stored procedures written by others.

2. If you want to write simple to complex stored procedures and User Defined Functions.

3. If you want to go through some procedures that can be implemented in your projects with small changes.


Below are the concepts I have explained in this course.

What is a stored procedure and blocks in a procedure

Variables

Table Literals

Identifiers

Flow Control Statements - Branching or Conditional(If Else and Case)

Flow Control Statements - Looping(For and While)

Cursors

Resultsets

Exception Handling

Transactions

Snowflake Information Schema


Below are the generic procedures and implementations explained.

1. Procedure for Automated Data Loads

2. SCD Type-1 implementation

3. SCD Type-2 implementation

4. Procedure for 1 to 1 View creation

5. Procedure for dropping all tables from a schema

6. Procedure for dropping all views from a schema

7. Procedure for migrating table DDL from one database to other database

8. Procedure for migrating views from one database to other database

9. Procedure for Automating Full load from staging to target tables

10. Procedure for Automating Delta/Incremental load from staging to target tables

11. Procedure for sample data setup for testing in lower environment

12. Code deployment using GitHub and Schema change

Who this course is for:

  • Who is working on Snowflake Projects
  • Who is struggling to Understand the complex Stored Procedures
  • Who is struggling to write Stored Procedures and UDFs