
Develop practical sql server procedures by building from scratch, explaining syntax and functionality, and wiring a three-table relational database with a junction table for many-to-many relationships.
Discover how temporary tables in SQL Server act as regular tables with short lifetimes, created with a hashtag, populated via select into, and reused for holding limited results.
Learn to set up a SQL Server procedure by creating a temporary table and a normal table for cursor output, plus a dynamic query with fixed and dynamic parts.
Learn how to build and execute dynamic SQL in SQL Server, escape quotes, and manage string literals within a dynamic query using variables and placeholders.
Create a SQL Server procedure to delete old transactions by date, archive them in a temp table, and capture the highest stock quantity for each deleted row using outer apply.
Create a five-step SQL Server procedure to select data older than transaction date, populate temp tables, declare a cursor, delete records, and fetch the highest stock quantity via outer apply.
Join this course and learn the concepts below by building 8 Stored Procedures.
First of all, learn how to build Stored Procedures, then, slowly add logic and functionality according to real-life scenarios that you are asked to complete as an SQL Server Developer.
The entire course is designed so that it explains every line of code that is written and also get a good knowledge of all the added Transact constructs, in a practical approach.
More or less, the T-SQL concepts that we will be working with and the constructs (like Stored Procedures) are probably the main features that you'll be using in your planned career either you choose to become a SQL developer or a Web Developer/App Developer.
Not the last, the 8th Stored Procedure will create with a click of a button a fully Many-to-Many relational database, so that means will also be dealing with concepts like PK, FK and Identity Incrementation.
As a summary, please read below some of the main subjects that this course deals with, and remember, you can freely browse the course for 30 days, because, if it is not what you searched for, you can ask a refund.
UNDERSTAND and APPLY inside Stored Procedures T-SQL concepts like:
3 Ways of Creating Dynamic Queries
Execute Dynamic Queries
The concept and utility of Cursors
SQL Server Pivot Operator
ROW_NUMBER() and create multiple Partitions
UPDATE with JOIN inside the same query
OUTPUT clause, OUTER and CROSS APPLY
Create with a Procedure Many-to-Many relational database
XML Parsing and master XML selection of Data