Q: Which keyword is used to create a stored function in MySQL?
-
A
FUNCTION
-
B
PROCEDURE
-
C
TRIGGER
-
D
TABLE
A
Answer:
A
Explanation:
The keyword "FUNCTION" is used to create a stored function in MySQL. It is followed by the function name, input parameters, and the function body that contains the logic and calculations. A stored function is defined using the "CREATE FUNCTION" statement in MySQL.
Related Topic:
Share Above MCQ