What different Stored Objects are supported in MySQL?

Answer Posted / hrindows@gmail.com

Different stored objects in MySQL include VIEW, STORED PROCEDURE, STORED FUNCTION, TRIGGER, EVENT.
• VIEW - It is a virtual table based on a result set of a database query.
• STORED PROCEDURE - It is a procedure stored in database which can be called using CALL statement. Stored procedure does not return a value.






• STORED FUNCTION - It is like function calls which can contain logic. It returns a single value and can be called from another statement.
• TRIGGER - Trigger is program which is associated with a database table which can be invoked before or after insert, delete or update operations.
• EVENT - Event is used to run a program or set of commands at defined schedule.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What sql does mysql use?

496


What is 'mysqladmin' in mysql?

531


What is longblob in mysql?

532


List data types in mysql? Explain

483


What is the difference between the primary and unique key in mysql?

472






How to calculate the difference between two dates?

490


What is information_schema in mysql?

482


What is the purpose of using a heap table?

541


What is truncate command?

469


How can I see all mysql databases?

426


How do I setup a mysql database?

486


What is mysql connector used for?

530


What are the advantages of MySQL when compared with Oracle?

543


Where is the mysql data directory?

503


What are the differences between char and varchar?

565