adplus-dvertising
frame-decoration

Question

Which of the following is a calling syntax for sp_executesql?

a.

sp_execute <@stmt> [<@param1 data_type>,<@param2 data_type>, …]

b.

sp_sql <@stmt> [<@param1 data_type>,<@param2 data_type>, …]

c.

sp_executesql <@stmt> [<@param1 data_type>,<@param2 data_type>, …]

d.

sp_executesql [<@param1 data_type>,<@param2 data_type>, …]

Posted under SQL Server

Answer: (c).sp_executesql <@stmt> [<@param1 data_type>,<@param2 data_type>, …]

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 calling syntax for sp_executesql?