Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
EssentialSQL: Stored Procedures Unpacked - Code in TSQL
Rating: 4.2 out of 5(1,434 ratings)
8,165 students

EssentialSQL: Stored Procedures Unpacked - Code in TSQL

Stored Procedures Database Programming, Write TSQL Server Stored Procs for Data Engineering, Data Analysis, and DBA's
Last updated 2/2024
English

What you'll learn

  • Understand what a stored procedure is and how it differs from other types of SQL queries.
  • Understand how to pass parameters to and from stored procedures.
  • Know how to use variables and control structures such as IF/ELSE and WHILE loops within stored procedures.
  • Learn how to debug, that is troubleshoot, a stored procedure.
  • Setup transactions, detect errors, and automatically rollback changes
  • Understand how to use cursors in stored procedures.

Course content

9 sections45 lectures4h 55m total length
  • Welcome to the Course2:24

    Welcome to Stored Procedures Unpacked.  My goal is to help take the mystery out of stored procedures and show you there is no magic to them at all!

    By the time you have completed the course, you will have a thorough understanding of stored procedures, be able to write your own, and know when it’s best to use them.

  • What is a Stored Procedure and why do we need them?6:41

    Get to know what a stored procedure is the main purpose they serve in running T-SQL statements within your database.

  • Creating Your First Stored Procedure7:57

    I figured before we jump into the details, let's try to create a really simple stored procedure so you get a knack for how they're created and so that you see there isn't a "secret" to them.

  • How to take this course4:04

    Learning stored procedures is not  a linear learning process.  So, you'll see I show the big picture, then I dive into specifics.  Once you're exposed to many of the specific, especially in the programming concepts section, you start to write more comprehensive stored procedures.

  • Introduction Quiz
  • Create Your Own Stored Procedure - Challenge0:27

    Now that you've seen the lesson on creating your first stored procedure, let's try to create one ourselves.

    Don't worry, this will be a really simple example to build confidence.

    Let's get started!

  • Create Your Own Stored Procedure - Answer0:29

    This is the solution to the challenge to "Create Your Own Stored Procedure."  Try the challenge first; no peeking!

Requirements

  • You should already be familiar with basic queries, such as SELECT, GROUP BY, and ORDER BY clauses.
  • Knowledge of basic programming concepts, such as IF/THEN is a plus, but not mandatory.

Description

Use TSQL to write stored procedures and scripts to automate data engineering and data analysis task.  This is a great  SQL course for a DBA to take if they want to stand out from other database administrators.  Learn Database Programming concepts using SQL Server stored procedures.


Whether You're:

  • A developer looking to secure your app with stored procedures.

  • A consultant looking to expand your tool set

  • An IT professional looking to read and understand database code

  • An analyst looking to parametrize PowerBI queries for SQL data analysis

  • A sql server DBA looking to build their SQL server database administrator skills


You're in the right place and I'm going to tell you exactly how Stored Procedure Unpacked gives you the tools, inspiration, and unparalleled support on your journey to level up your SQL skills.


In this Course you will Learn to:

  • Use stored procedures to implement business logic.

  • Develop stored procedures from scratch!

  • Learn some basic  troubleshooting skills.

  • Know the right way to use cursors.

  • Apply database transaction techniques to commit or rollback your database changes.

  • Trap and handle errors.

Nothing is worse than:

  • Being excited to learn something new but not knowing where to start.

  • Wasting time learning the wrong features.

  • Being overwhelmed with options and not know which to use.


Imagine having the knowledge to know how to quickly write stored procedures to take your SQL to the next level.  The confidence confidence that you're on the right track.  A sense of accomplishment, you have learned something most cannot.

By the time you’ve complete this course you’ll have an appreciation of developing stored procedures, overcome your fear, and able to write stored procedures that pass parameters, handle errors, and rollback unintended database changes.

Now that’s cool!

Who this course is for:

  • Beginner SQL query authors curious about combining SQL statements into transactions.
  • Anyone looking to take a class whose singular purpose is to teach you stored procedures.
  • Anyone who thinks that stored procedures are really scary (they aren't!) :)
  • Developers wanting to learn about database cursors.
  • Analysts looking to create advanced data sources from SQL Server from Power BI.
  • Developers looking to for a better way to develop and manage database code.