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 Display, Amount of Disk Activity Generated by Transact-SQL Statements?
HOW TO RENAME A COLUMN NAME
Differentiate between ms sql server reporting services vs crystal reports?
Is it possible to create tables in stored procedures using a variable for the table name?
What is a ddl statement?
What are sql server functions?
What value could be assigned to Varchar Type?
What are the difference between data length and length in SQL Server-2008?
What are the triggers in sql?
What is outer join in sql server joins?
Explain few examples of stored procedure over triggers?
How to use go command in "sqlcmd"?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)