filmov
tv
Part 6 MySQL Views, Indexes, Procedures, Functions, Exception Handling and Transactions

Показать описание
View :
Advantages of MySQL Views
Create or Replace View
Merge view
Views with joins
Views with insert
Views with update
Views with delete
Not possible cases to implement insert, update
Drop view
Index
Stored procedure :
Advantages :
1. Reduce network traffic
2. Centralize business logic in the database
3. Make database more secure
Disadvantages:
1. Resource usages
2. Troubleshooting
3. Maintenances
RDBMS API web
Procedure call SP
Send parameters
Get the response
Variables :
Declaring variables
Session variables or user-defined variables
Parameters
IN
OUT
INOUT
List of procedures
Drop procedures
Drop procedure test;
Functions
Exception Handling
DECLARE CONTINUE HANDLER FOR NOT FOUND
BEGIN
SET @handler_invoked = 1;
END;
DECLARE EXIT HANDLER FOR SQLEXCEPTION, SQLWARNING
BEGIN
GET DIAGNOSTICS CONDITION 1
@p2 = Message_TEXT;
SELECT 500 AS StatusCode, @p2 AS Message;
END;
Transactions
Advantages of MySQL Views
Create or Replace View
Merge view
Views with joins
Views with insert
Views with update
Views with delete
Not possible cases to implement insert, update
Drop view
Index
Stored procedure :
Advantages :
1. Reduce network traffic
2. Centralize business logic in the database
3. Make database more secure
Disadvantages:
1. Resource usages
2. Troubleshooting
3. Maintenances
RDBMS API web
Procedure call SP
Send parameters
Get the response
Variables :
Declaring variables
Session variables or user-defined variables
Parameters
IN
OUT
INOUT
List of procedures
Drop procedures
Drop procedure test;
Functions
Exception Handling
DECLARE CONTINUE HANDLER FOR NOT FOUND
BEGIN
SET @handler_invoked = 1;
END;
DECLARE EXIT HANDLER FOR SQLEXCEPTION, SQLWARNING
BEGIN
GET DIAGNOSTICS CONDITION 1
@p2 = Message_TEXT;
SELECT 500 AS StatusCode, @p2 AS Message;
END;
Transactions
Part 6 MySQL Views, Indexes, Procedures, Functions, Exception Handling and Transactions
MySQL VIEWS are awesome
Tutorial 6- Indexing In MySQL-MySQL Complete Playlist
MySQL: INDEXES are awesome
6# Creating Views in MySQL server | MySQL Development
MySQL Part 15 Index Views
Indexing in MySQL | Real-life Example | Data Engineering | Data Science #shorts
Materialized View in SQL | Faster SQL Queries using Materialized Views
Tutorial 7- Interview Preparation MySql Views-MySQL Complete Playlist
MySQL Views
Views In Mysql part-1
Mysql Index Tutorial | [Simple Explanation] [2020]
6. SQLiteAdmin - Creating Views
MySQL to Cassandra modelling and implementation with Spark - Part 6 - Analytical Queries
HOW TO DELETE TABLE IN MYSQL: PART-6
Cosplay by b.tech final year at IIT Kharagpur
MySql Database | Explain DDL And Its Key Commands || Lecture No 6
Views in MySQL
How do SQL Indexes Work
MySQL Full Course for free 🐬
MySQL: JOINS are easy (INNER, LEFT, RIGHT)
How to View and Search Table Data in Mysql Workbench 6.0
How to Use Select Query in MySQL : part-6
Indexing in mysql
Комментарии