Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Database
→
Introduction To Database in Database
→
What is difference between function and procedure...
1.
What is difference between function and procedure in MySQL?
Answer»
FUNCTION
Procedure
The function
RETURNS
the single value which is anyhow mandatory.
The procedure returns zero or
N
values.
They only work with a
STATEMENT
: Select
They can work with multiple statements: Insert, Update, Delete, Select.
In function, transactions are not possible
In the procedure, transactions are possible
Error handling is not possible
With try-catch, error handling is possible.
Also Read: RDBMS
INTERVIEW
questions
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
How do you create view in MySQL?
What is view in MySQL?
What is the difference between timestamp and datetime in MySQL?
How to convert a string to utf 8 in MySQL?
What is the degree of a table in MySQL?
How to upload a large file through phpmyadmin in MySQL?
What is temporary table in MySQL?
What is heap table in MySQL?
How do I count the number of records in a MySQL query?
How can I see all indexes on a table in MySQL Database?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies