Procedures: CH Vengaiah, Asst Professor Department of Cse
Procedures: CH Vengaiah, Asst Professor Department of Cse
Procedures: CH Vengaiah, Asst Professor Department of Cse
Aim: Procedures
Procedure:
Section 5. Cursors
Syntax:
Example:
mysql> delimiter $$
mysql> create procedure get_student()
-> begin
-> select * from item;
-> end$$
Query OK, 0 rows affected (0.00 sec)
Drop a procedure
In MySQL, a procedure can also be dropped. When a procedure id
dropped, it is removed from the database.
Syntax:
Parameter:
Example :