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

What is variable and its classification?

622


Does c# have primitives?

544


What is difference between destructor and finalize?

518


What is interface used in c#?

653


What is before string in c#?

589






What are value types and reference types?

640


What is deadly diamond problem?

631


Is stringbuilder thread safe c#?

556


How to generate strong name key file or which command is used to generated strong name key file?

604


How will you deploy the dll file in gac?

577


Give some examples of commonly used i/o classes?

576


What is the use of table aliases?

570


What are the Configuration files in .net?

590


Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?

626


Are enums static c#?

580