Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following table highlights SQL hints based on IBM DB2 hints optimization.

CategoryHintNotes
CommandSET OPTIMIZATION LEVELFor top-level SELECT statements only.
Clauseoptimize for <n> rowsFor top-level SELECT statements only.
Clausefetch first <n> rows onlyFor SELECT statements only.



Scroll pdf ignore
Automate SQL tuning and profiling with DB Optimizer. Learn more > >