1.

Which of the following is a way to build dynamic sql statements?(a) Writing a query with parameters(b) Using sp_executesql(c) Using EXEC(d) All of the mentionedThis question was posed to me in homework.Enquiry is from Dynamic SQL topic in chapter Developing with SQL Server of SQL Server

Answer»

Right choice is (d) All of the mentioned

The explanation is: SQL Server offer THREE WAYS of running a dynamically built SQL STATEMENT.



Discussion

No Comment Found

Related InterviewSolutions