Question
a.
Stored procedure can not cache the execution plan for this dynamic query
b.
Stored procedure can cache the execution plan for this dynamic query
c.
Flexibility in your code that you can not get with standard SQL
d.
All of the mentioned
Posted under SQL Server
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following is a disadvantage of dynamic SQL?
Similar Questions
Discover Related MCQs
Q. Which of the stored procedure used for dynamic SQL is prone to attacks?
View solution
Q. SQL injection is an attack in which _________ code is inserted into strings that are later passed to an instance of SQL Server.
View solution
Q. Point out the correct statement.
View solution
Q. Which of the following script is example of SQL injection attack?
View solution
Q. Any user-controlled parameter that gets processed by the application includes vulnerabilities like ___________
View solution
Q. Point out the wrong statement.
View solution
Q. Which of the stored procedure is used to test the SQL injection attack?
View solution
Q. If xp_cmdshell has been disabled with sp_dropextendedproc, we can simply inject the following code?
View solution
Q. Which of the following code can enable xp_cmdshell?
View solution
Q. Which of the following script is an example of Quick detection in the SQL injection attack?
View solution
Q. _______________ is time based SQL injection attack.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond SQL Server? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!
Operating System
Dive deep into the core of computers with our Operating System MCQs. Learn about...
Java Programming
Level up your coding skills with our Java Programming MCQs. From object-oriented...