adplus-dvertising
frame-decoration

Question

Which of the following is a disadvantage of dynamic SQL?

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

Answer: (a).Stored procedure can not cache the execution plan for this dynamic query

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?