What is the diff between Dynamic queries and static queries
Answer / jerry joseph
Static query will be executed as it is.
Dynamic query is built upon conditions depending upon the
parameters.
Static query will create an execution plan during compilation.
Dynamic query will create execution plan at run time.
Its very slow in execution since building the plan at run
time makes it too slow.
Is This Answer Correct ? | 17 Yes | 2 No |
How to rebuild master databse?
What are transactions in sql?
What is an inner join?
how can u get last observation in an unknown dataset ?
What do you need to connect php to sql server?
Define DML and DCL statements?
How will you collect the date from current date to last older 6 days date in sql server 2005
Define magic tables in sql server?
Explain primary key in sql server?
What is the function of sql server agent windows service?
What is the partitioning method?
Explain syntax for dropping triggers?