--:--









Quiz for Creating Stored Procedures

Course: SQL | Subject: SQL | Topic: Stored Procedures & Triggers



Logo

Q1: Which SQL keyword is used to create a stored procedure?

Logo

Q2: Which clause is used to define input parameters in a stored procedure?

Logo

Q3: How do you begin the body of a stored procedure in SQL?

Logo

Q4: Which SQL delimiter is often changed when defining a stored procedure?

Logo

Q5: Which statement ends the stored procedure body?

Logo

Q6: Which of the following can be used inside stored procedures?

Logo

Q7: What is the purpose of the DELIMITER command while creating stored procedures?

Logo

Q8: Which command can be used to view all stored procedures?

Logo

Q9: What happens if you create a procedure with an existing name?

Logo

Q10: What is used to exit a procedure early?

Logo

Q11: What keyword is used to define a local variable in a stored procedure?

Logo

Q12: Which of the following is a valid way to call a stored procedure?

Logo

Q13: Which datatype can be used for procedure parameters?

Logo

Q14: What clause follows a CREATE PROCEDURE to define parameters?

Logo

Q15: Which privilege is required to create stored procedures?

Logo

Q16: Can stored procedures return result sets?

Logo

Q17: What is the scope of a variable declared inside a stored procedure?

Logo

Q18: What does the keyword DETERMINISTIC signify in stored procedures?

Logo

Q19: Can stored procedures be recursive?

Logo

Q20: What is the role of SQL_MODE in stored procedure creation?

Are you ready to start test? Set your time limit