what is dynamic sql

Answer Posted / hima

Dynamic SQL is a term used to mean SQL code that is
generated programatically (in part or fully) by your program
before it is executed. As a result it is a very flexible and
powerful tool. You can use dynamic sql to accomplish tasks
such as adding where clauses to a search based on what
fields are filled out on a form or to create tables with
varying names.
Using dynamic SQL you can put a SQL statement inside a
variable and execute that statement. It's what you have to
do when you're trying to run Select * from @TableName.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?

712


What is the difference between throw and throw ex?

641


Constructor to an arbitrary base constructor?

738


What is the purpose of dictionary in c#?

630


what is the difference between interface and multiple interface?

738


Why do we need delegates?

654


What is cshtml?

689


What are the different states of a thread?

704


What is the meaning of console writeline in c#?

628


What is datacontract in c#?

653


What is the C# syntax to catch any possible exception?

703


Describe the parts of assembly.

706


Name the two classes are required for implementing a windows service?

769


What is the difference between serialization and deserialization in c#?

640


What is yield return in c#?

691