آموزش برنامه‌نویسی SQL Server و مبانی Stored Procedureها - آخرین آپدیت

دانلود SQL Server Programming and Stored Procedures Fundamentals

نکته: ممکن هست محتوای این صفحه بروز نباشد ولی دانلود دوره آخرین آپدیت می باشد.
نمونه ویدیوها:
توضیحات دوره:

آموزش برنامه‌نویسی SQL Server از صفر تا صد و ایجاد Stored Procedure های قدرتمند و کاربردی

این دوره به شما کمک می‌کند تا بتوانید Stored Procedure های قدرتمند و کاربردی ایجاد کنید. این یک دوره گام به گام است و در هر جلسه بر مباحث قبلی افزوده می‌شود. این دوره برنامه‌نویسی SQL و Stored Procedure را از پایه آموزش می‌دهد و نیازی به تجربه برنامه‌نویسی قبلی ندارید.

مفاهیم کلیدی که در این دوره آموزش داده می‌شوند:

  • مبانی Stored Procedure: Stored Procedure کدی از پیش آماده شده در SQL است که می‌توانید آن را ذخیره کنید و بارها از آن استفاده مجدد کنید.

  • استفاده از پارامترها در Stored Procedure: برای تبادل اطلاعات بین Stored Procedure ها و توابع و برنامه یا ابزاری که Stored Procedure یا تابع را فراخوانی می‌کند، استفاده می‌شود.

  • متغیرها: ابژکتی که می‌تواند یک مقدار داده‌ای منفرد از نوع خاص را در خود نگه دارد.

  • پارامترهای خروجی و مقادیر بازگشتی: دو روش برای بازگرداندن مجموعه نتایج یا داده‌ها از Stored Procedure به برنامه فراخوان.

  • دستورات شرطی IF: شرایطی را برای اجرای یک دستور Transact-SQL اعمال می‌کند.

  • حلقه‌های WHILE: برای اجرای مکرر یک قطعه کد SQL خاص استفاده می‌شود.

  • توابع تعریف شده توسط کاربر (User Defined Functions): روتین‌هایی که پارامترهایی را می‌پذیرند، عملیاتی مانند محاسبه پیچیده انجام می‌دهند و نتیجه آن عمل را به عنوان یک مقدار باز می‌گردانند.

  • جدول‌های موقت (Temporary Tables): جدول پایگاه داده‌ای که به طور موقت روی سرور پایگاه داده وجود دارد.

  • متغیرهای جدولی (Table Variables): نوع خاصی از متغیر محلی که به ذخیره موقت داده‌ها کمک می‌کند، مشابه جدول‌های موقت در SQL Server.

  • توابع با مقدار جدولی (Table Valued Functions): تابع تعریف شده توسط کاربر که یک نوع داده جدولی را برمی‌گرداند و می‌تواند پارامترهایی را نیز بپذیرد.

  • عبارات جدول مشترک (Common Table Expressions - CTEs): یک مجموعه نتیجه نامگذاری شده موقت که می‌توانید در عبارات SELECT، INSERT، UPDATE یا DELETE به آن ارجاع دهید.

  • اسکریپت‌های SQL پویا (Dynamic SQL): تکنیکی در برنامه‌نویسی که به شما امکان می‌دهد عبارات SQL را به طور پویا در زمان اجرا بسازید.

  • تراکنش‌ها (Transactions): گروهی از دستورات یا پرس و جوهای متوالی برای انجام یک یا چند وظیفه در پایگاه داده.

  • تریگرهای DML: نوع خاصی از Stored Procedure که به طور خودکار هنگام وقوع رویداد زبان دستکاری داده (DML) که روی جدول یا نمای تعریف شده در تریگر تاثیر می‌گذارد، فعال می‌شود.

  • تریگرهای DDL: در پاسخ به طیف وسیعی از رویدادهای زبان تعریف داده (DDL) فعال می‌شوند.

پیش‌نیازها:

  • نصب SQL Server (2012 یا بالاتر)
  • بازیابی پایگاه داده نمونه AdventureWorks (هر نسخه OLTP)
  • آشنایی با Microsoft SQL Server
  • آشنایی با پرس و جوهای پایه SQL
  • تجربه برنامه‌نویسی مورد نیاز نیست

چرا باید SQL را یاد بگیرید حتی اگر توسعه‌دهنده نیستید؟

در این روزها، تقریباً همه باید به نوعی با داده‌ها کار کنند. معمولاً این کار از طریق صفحات گسترده یا پایگاه داده‌ها انجام می‌شود، اما اگر کمی SQL یاد بگیرید، می‌توانید در کار خود بسیار قدرتمندتر شوید.

مدرس دوره کیست؟

نام من انریکه والنسیا است. من یک متخصص پایگاه داده مستقر در سنگاپور هستم. به مدت 7 سال DBA SQL Server بوده‌ام. در حال حاضر روی پایگاه داده‌های متن باز مختلفی مانند MySQL، MariaDB، PostgreSQL، Redis، Elasticsearch و MongoDB کار می‌کنم. تمرکز من بر روی بهینه‌سازی عملکرد SQL، در دسترس بودن بالا و خودکارسازی است.

امیدوارم از این دوره به همان اندازه که من از ایجاد آن لذت بردم، لذت ببرید!


سرفصل ها و درس ها

مقدمه Introduction

  • مقدمه دوره Course Introduction

  • مرور کلی سرفصل‌های دوره Course curriculum overview

  • لینک‌های دانلود دوره و مخازن Course downloads and repository links

  • پیش‌نیازها Prerequisites

مبانی Stored Procedure Stored Procedure Fundamentals

  • Introduction

  • What are stored procedures?

  • Writing a stored procedure

  • Stored procedure creation

  • Running a stored procedure

  • Altering a stored procedure

  • Dropping a stored procedure

استفاده از پارامترها در Stored Procedureها Using Parameters in Stored Procedures

  • Introduction

  • What are parameters?

  • Adding a parameter

  • Parameter usage in WHERE clause

  • Procedure execution with parameters

  • Adding several parameters

  • Named parameters

  • Using text parameters

  • Optional parameters introduction

  • Giving default values to parameters

  • NULL value used as default

متغیرها Variables

  • Introduction

  • Defining Variables

  • Variable Declaration

  • Giving a value to a variable

  • Referencing a variable in a query

  • Query results stored in variables

  • Querying the value in a variable

  • Showing the value of variable in messages tab

  • Referring a record in a set of variables

  • Gathering values in variables

  • What are global variables

پارامترهای خروجی و مقادیر بازگشتی Output Parameters & Return Values

  • Introduction

  • Parameters review

  • Describing output parameters

  • Setting the value of output parameters

  • Retrieving the results of output parameters

  • Output parameters against return values

  • Utilizing stored procedure return values

  • Get the results of return value

عبارات IF IF Statements

  • Introduction

  • Definition of IF statement and creating a logical test

  • Using the ELSE clause

  • BEGIN and END block

  • Nesting IF statements

  • Utilizing SELECT statements within an IF statement

حلقه‌های WHILE WHILE Loops

  • Introduction

  • Basic syntax of WHILE loops

  • Using SELECT statements in a loop

  • Getting out of a loop using BREAK

  • Stopping a never ending loop

  • CURSORS in loops

توابع تعریف شده توسط کاربر User Defined Functions

  • Introduction

  • Scalar functions

  • Function creation

  • Defining a function

  • Appending code to a function

  • Examine and evaluate a function

  • Modifying a function

  • Complicated expressions

  • Making use of variables and IF statements

جداول موقت Temporary Tables

  • Introduction

  • What are temporary tables

  • Temporary table creation - technique 1

  • Temporary table creation - technique 2

  • Temporary tables location

متغیرهای جدول Table variables

  • Introduction

  • Temporary tables review

  • Table variable declaration

  • Pushing data into a table variable

  • Reasons to use table variables

  • Table variable lifecycle

  • Drawbacks of table variables

توابع با مقدار جدول Table Valued Functions

  • Introduction

  • Recap of user-defined valued functions

  • Getting to know table valued function

  • Inline table-valued function definition

  • Searching a newly created table valued function created

  • Utilizing table valued functions in a query

  • Editing a table valued function

  • Defining a multi-statement table valued function

  • Multi-statement table valued function

  • MSTVF usage

  • Searching and editing MSTVF

عبارات جدول مشترک (CTE) Common Table Expressions (CTE)

  • Introduction

  • Basic CTE Construction

  • Computing Aggregates Utilizing CTEs

  • Labelling Columns in CTE

  • Constructing Multiple CTEs

SQL پویا Dynamic SQL

  • Introduction

  • Dynamic SQL definition

  • Utilizing EXECUTE for dynamic SQL

  • Utilizing system stored procedure

  • Deciding on the technique to use

  • Linking dynamic SQL string

  • Number concatenation

  • Constructing a stored procedure

  • Appending several parameters

  • Parameters of sp_executesql

  • Hazards of SQL injection

تراکنش‌ها Transactions

  • Introduction

  • Begin a transaction

  • Rollback transaction

  • Naming transactions

  • Utilizing IF statements to commit or rollback

  • Error handling

  • Try and catch block

  • Constructing nested transaction

  • Nested transaction rollback

  • Making use of savepoints

تریگرهای DML DML Triggers

  • Introduction

  • All about triggers

  • DML trigger creation

  • Trigger testing

  • Trigger modification

  • Trigger deletion

  • Constructing an INSTEAD OF triggers

  • The inserted and deleted tables

تریگرهای DDL DDL Triggers

  • Introduction

  • What are DDL triggers

  • DDL creation

  • Trigger testing

  • Trigger modification

  • Trigger deletion

  • Trigger disabling and enabling

  • Simultaneous disabling of triggers

  • Server-scoped trigger creation

  • Modify the execution order of triggers

نمایش نظرات

آموزش برنامه‌نویسی SQL Server و مبانی Stored Procedureها
جزییات دوره
4 hours
129
(آخرین آپدیت)
746
4.4 از 5
دارد
دارد
دارد
جهت دریافت آخرین اخبار و آپدیت ها در کانال تلگرام عضو شوید.

Google Chrome Browser

Internet Download Manager

Pot Player

Winrar

Enrique Valencia Enrique Valencia

دانشجوی Udemy