7. Using Monitoring and Tracing Tools : Trace Utilities : SET Options for Tracing Queries : The SET PRINTQRY Option
 
Share this page                  
The SET PRINTQRY Option
The command SET PRINTQRY prints out the query before it is optimized and executed. This is especially useful when evaluating queries for performance tuning or troubleshooting.