From the course: Snowflake SnowPro Core Cert Prep
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Stored procedures - Snowflake Tutorial
From the course: Snowflake SnowPro Core Cert Prep
Stored procedures
So let's just talk about stored procedures in Snowflake, how Snowflake originally provided support for stored procedures with just JavaScript and the JavaScript stored procedures used the JavaScript API, which allowed you to execute SQL statements, retrieve a result set, and obtain metadata about that result set, such as the number and name of columns and data types. That approach, however, came with a very steep learning curve. As you can imagine, for developers who came to Snowflake with a SQL background, there was no alternative at the time to use SQL code directly to create a stored procedure. More recently, however, Snowflake introduced scripting and it's called SQL scripting, which is a SQL extension that supports procedural logic. Now, Snowflake scripting reduces the complexity involved in migrating from relational database systems such as Oracle or SQL Server to Snowflake. Now, just generally, some some of the benefits. And let's just cover off the languages first of all that…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Domain 5.0: Introduction37s
-
(Locked)
Estimating functions2m 22s
-
(Locked)
Table sampling1m 11s
-
(Locked)
Stored procedures2m 20s
-
(Locked)
User-defined functions1m 29s
-
(Locked)
Working with semi-structured data4m
-
(Locked)
Working with unstructured data1m 40s
-
(Locked)
Domain 5.0: Recap1m 50s
-
(Locked)
-
-
-