Май 6, 2014
59 1
3,945 просмотров
Вы все еще используете курсоры? Тогда это видео-урок для Вас!
71 1
In this video we will learn about triggers in sql serevr. There are 3 types of triggers
1. DML triggers
2. DDL triggers
3. Logon trigger
DML triggers are fired automatically in response to DML events (INSERT, UPDATE & DELETE). DML triggers can be again classified into 2 types
1. After triggers (Sometimes called as FOR triggers)
2. Instead of triggers.
After triggers, fires after the triggering action. The INSERT, UPDATE, and DELETE statements, causes an after trigger to fire after the respective statements complete execution. INSTEAD of triggers, fires instead of the triggering action. The INSERT, UPDATE, and DELETE statements, causes an INSTEAD OF trigger to fire INSTEAD OF the respective statement execution.
Text version of the video
http://csharp-video-tutorials.blogspot.com/2012/09/dml-triggers-part-43.html
Slides
http://csharp-video-tutorials.blogspot.com/2013/09/part-43-dml-triggers.html
All SQL Server Text Articles
http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html
All SQL Server Slides
http://csharp-video-tutorials.blogspot.com/p/sql-server.html
All Dot Net and SQL Server Tutorials in English
https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd
All Dot Net and SQL Server Tutorials in Arabic
https://www.youtube.com/c/KudvenkatArabic/playlists
1265 54
Промокод на скидку 15% на все курсы ITVDN- H94BCAB
Ссылка на полный курс — http://itvdn.com/ru/video/sql-essential?utm_source=yb_promo_sqless
Для того, чтобы оптимизировать работу базы и не отправлять на сервер большие объемы SQL запросов, можно создать хранимую процедуру, которая будет представлять блок кода, хранящийся на сервере для неоднократного запуска со стороны клиента. В этом видео уроке по SQL Вы изучите тонкости написания хранимых процедур, а также научитесь создавать функции, которые также помогут оптимизировать и упростить работу с данными.
137 13
This Video tutorial describes stored procedures. It is a tutorial on 101 of stored procedures. Stored procedures in SQL are very useful in certain situations. This video briefly describes on how to write a stored procedure.
Stored Procedure also called as sprocs are basically a bunch a T-sql statements bundled up.
They are generally called using the EXEC command.
Stored procedures can take one or more parameters.
SQL server also has its own stored procedures. These are called as System stored procedures or system stored procs.
example: sp_who2
If you learn SQL, you will love the concept of stored procedures. These SQL tutorials cover some basic to a little advanced concepts of stored procedures.
http://www.creativecommit.com
147 9
In this video we will learn about
1. User Defined Functions in sql server
2. Types of User Defined Functions
3. Creating a Scalar User Defined Function
4. Calling a Scalar User Defined Function
5. Places where we can use Scalar User Defined Function
6. Altering and Dropping a User Defined Function
Text version of the video
http://csharp-video-tutorials.blogspot.com/2012/09/scalar-user-defined-functions-in-sql.html
Slides
http://csharp-video-tutorials.blogspot.com/2013/08/part-30-user-defined-functions.html
All SQL Server Text Articles
http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html
All SQL Server Slides
http://csharp-video-tutorials.blogspot.com/p/sql-server.html
All Dot Net and SQL Server Tutorials in English
https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd
All Dot Net and SQL Server Tutorials in Arabic
https://www.youtube.com/c/KudvenkatArabic/playlists
698 26
If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can click this link https://www.wiseowl.co.uk/donate?t=1 to make a donation. Thanks for watching!
By Andrew Gould
https://www.wiseowl.co.uk — Triggers are special stored procedures that you can attach to various events within a database. This video covers DML, or Data Manipulation Language triggers, which you can use to handle events associated with inserting, updating and deleting data in tables and views.
You can see a written version of this tutorial at:
https://www.wiseowl.co.uk/blog/s388/sql-triggers.htm
You can download the script to create the Movies database used in this video at the following link:
https://www.wiseowl.co.uk/files/execise-question-files/qf-898.zip
You can see the range of resources and courses we offer in SQL Server here:
https://www.wiseowl.co.uk/sql/
Visit www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Access, Microsoft PowerPoint, Microsoft Word, Microsoft Project, Microsoft Publisher, Microsoft Visio, SQL Server, Reporting Services, Analysis Services, Visual Studio, ASP.NET, VB.NET, C# and more!
305 6
If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can click this link https://www.wiseowl.co.uk/donate?t=1 to make a donation. Thanks for watching!
By Andrew Gould
https://www.wiseowl.co.uk — Stored Procedures are extremely useful tools in SQL Server, and they become even more powerful when you use parameters to pass information to them. This video teaches you how to define a list of parameters for a stored procedure and how to call a parameterised procedure and pass information to it. You'll also learn how to create optional parameters with default values, how to handle NULLs passed to a procedure and, finally, how to use your procedure in other applications such as Reporting Services.
You can read a written version of this tutorial here:
https://www.wiseowl.co.uk/blog/s263/parameters.htm
You can download the script to create the Movies database used in this video at the following link:
https://www.wiseowl.co.uk/files/execise-question-files/qf-898.zip
You can see the range of resources and courses we offer in SQL Server here:
https://www.wiseowl.co.uk/sql/
Visit www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Access, Microsoft PowerPoint, Microsoft Word, Microsoft Project, Microsoft Publisher, Microsoft Visio, SQL Server, Reporting Services, Analysis Services, Visual Studio, ASP.NET, VB.NET, C# and more!
1014 8
Эта сессия будет об особенностях, с которыми можно столкнуться при использовании хранимых процедур и функций в SQL Server, и как это может повлиять на производительность ваших запросов.
45 0
If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can click this link https://www.wiseowl.co.uk/donate?t=1 to make a donation. Thanks for watching!
By Andrew Gould
https://www.wiseowl.co.uk — If you ever find yourself writing the same SQL query over and over again, a Stored Procedure could be just the time-saving tool you're looking for. This video introduces you to the concept of stored procedures and will show you how to create, execute and modify these useful elements of SQL Server.
You can see a written version of this tutorial at:
https://www.wiseowl.co.uk/blog/s263/stored-procedures.htm
You can download the script to create the Movies database used in this video at the following link:
https://www.wiseowl.co.uk/files/execise-question-files/qf-898.zip
You can see the range of resources and courses we offer in SQL Server here:
https://www.wiseowl.co.uk/sql/
Visit www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Access, Microsoft PowerPoint, Microsoft Word, Microsoft Project, Microsoft Publisher, Microsoft Visio, SQL Server, Reporting Services, Analysis Services, Visual Studio, ASP.NET, VB.NET, C# and more!
1738 25
Пройди БЕСПЛАТНО профориентацию в IT — https://bit.ly/2NLILne
На этом уроке мы рассмотрим понятие триггер в базах данных и как с ним работать (создавать, удалять) в SQLite, MySQL и PostgreSQL.
Полезные ссылки:
• https://www.sqlite.org/lang_createtrigger.html
• https://dev.mysql.com/doc/refman/5.7/en/create-trigger.html
• http://www.postgresql.org/docs/9.1/static/sql-createtrigger.html
Ссылка на профиль автора вконтакте: vk.com/sk.avenger
Не ограничивай себя видеоуроками на YouTube!
Узнавайте еще больше полезной информации! Общайтесь с опытными разработчиками, преподавателями и развивайся через личное общение!
Школа онлайн-образования: https://loftschool.com/
Telegram: https://telegram.me/loftblog
Slack: http://slack.loftblog.ru/
Сайт: http://loftblog.ru/
Instagram: https://www.instagram.com/loftblog/
Группа вконтакте: http://vk.com/loftblog
Facebook: http://www.facebook.com/loftblog
Twitter: http://twitter.com/loft_blog
Больше уроков от lofblog: #loftblog
Все уроки по хештегу: #loftblogSQL
Полезные уроки для веб-программиста: #вебпрограммист
#SQL
—————————————————————————————————————————-
Не забываем, что самый лучший способ сказать "спасибо" — нажать кнопку "нравится" и скинуть ссылку на урок друзьям. Ничто другое так сильно не мотивирует автора продолжать работу :))
396 29