Snowflake Scripting - Writing Stored Procedures Using SQL

所在平台: Udemy

课程主页: https://www.udemy.com/course/snowflake-scripting-stored-procedures/

课程评论:没有评论

第一个写评论        关注课程

课程简介

## Snowflake Scripting:使用 SQL 编写存储过程 本课程旨在帮助您全面掌握 Snowflake Scripting,重点在于使用 SQL 编写存储过程和用户定义函数(UDF)。 **课程内容涵盖:** * **Snowflake Scripting 概念:** 深入理解 Snowflake Scripting 的核心概念。 * **存储过程编写:** 学习如何创建功能强大且可重用的存储过程。 * **用户定义函数(UDF)编写:** 掌握创建自定义函数的技巧,以增强您的 SQL 能力。 * **通用存储过程:** 学习编写可在各类 Snowflake 项目中应用的通用存储过程,并了解其实际实现。 **课程优势:** * **解决复杂存储过程理解难题:** 帮助您轻松理解和分析他人编写的复杂存储过程。 * **提升存储过程和 UDF 编写能力:** 使您能够从简单到复杂地编写自己的存储过程和 UDF。 * **项目实践应用:** 提供可直接应用于您项目的通用存储过程和实现,只需稍作修改。 **详细讲解的概念包括:** * 存储过程和过程块 * 变量 * 表字面量 * 标识符 * 流程控制语句(IF ELSE、CASE) * 循环语句(FOR、WHILE) * 游标(Cursors) * 结果集(Resultsets) * 异常处理 * 事务(Transactions) * Snowflake 信息模式(Information Schema) **通用存储过程和实现示例:** 1. 自动化数据加载过程 2. SCD Type-1 实现 3. SCD Type-2 实现 4. 一对一视图创建过程 5. 删除 Schema 中所有表的流程 6. 删除 Schema 中所有视图的流程 7. 将表 DDL 从一个数据库迁移到另一个数据库 8. 将视图从一个数据库迁移到另一个数据库 9. 自动化从暂存表到目标表的完全加载 10. 自动化从暂存表到目标表的增量加载 11. 在较低环境中进行测试的示例数据设置过程 12. 通过 GitHub 和 Schema 变更进行代码部署 本课程将帮助您成为一名更高效的 Snowflake 用户,能够自信地编写、理解和实现复杂的 SQL 逻辑。

课程评论(0条)

课程详情

Hi, in this Snowflake Scripting course I have explained1. 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 procedureVariablesTable LiteralsIdentifiersFlow Control Statements - Branching or Conditional(If Else and Case)Flow Control Statements - Looping(For and While)CursorsResultsetsException HandlingTransactionsSnowflake Information SchemaBelow are the generic procedures and implementations explained.1. Procedure for Automated Data Loads2. SCD Type-1 implementation3. SCD Type-2 implementation4. Procedure for 1 to 1 View creation5. Procedure for dropping all tables from a schema6. Procedure for dropping all views from a schema7. Procedure for migrating table DDL from one database to other database8. Procedure for migrating views from one database to other database9. Procedure for Automating Full load from staging to target tables10. Procedure for Automating Delta/Incremental load from staging to target tables11. Procedure for sample data setup for testing in lower environment12. Code deployment using GitHub and Schema change

课程标签

0人关注该课程

主题相关的课程