지금 지원 담당자와 채팅
지원 담당자와 채팅

SQL Optimizer for DB2 LUW 5.0 - User Guide

SQL Optimizer for IBM® DB2® LUW
UsageStatistics Getting Started Options SQL Scanner SQL Optimizer SQL Formatter SQL Inspector Database Explorer SQL Repository Index Impact Analyzer Index Usage Analyzer User-Defined Temp Table Editor Functions SQL Functions SQL Information and Functions Activity Log
Tutorials About us Copyright

SQL Formatter

Quest SQL Optimizer for IBM® DB2® LUW maximizes SQL performance by automating the manual, time-intensive and uncertain process of ensuring that SQL statements are performing as fast as possible. SQL Optimizer analyzes, rewrites, and evaluates SQL statements within multiple database objects, files. With SQL Optimizer, you can analyze and optimize all your problem SQL from multiple sources. SQL Optimizer also provides you a complete index optimization and plan change analysis solution, from index recommendations to simulated index impact analysis, through comparison of multiple SQL access plans.

SQL Optimizer provides you with the following main modules.

SQL Optimizer (including SQL Rewrite and Generate Indexes functions)

SQL Formatter

Database Explorer

SQL Scanner

SQL Inspector

SQL Repository

Index Impact Analyzer

Index Usage Analyzer

 

About SQL Formatter

The SQL Formatter transforms a SQL statement into a more readable format by automatically indenting and aligning the text, keeping a consistent SQL layout throughout the source code, and hence making the SQL statement easier to understand and read. The SQL Formatter not only formats the SQL statement but also checks its syntax, and highlights variables, DB2 optimizer SQL options, and comments.

 

Related Topics

SQL Formatter Window

ClosedView the SQL Formatter

The SQL Formatter window is divided into two sections:

Original SQL (Left pane)

Provides an area for entering the SQL statement to be formatted.

Formatted SQL (Right pane)

Displays the formatted SQL statement. Host variables, SQL options and comments are color-coded for easy recognition. 

 

Format a SQL Statement

To format a SQL statement

  1. Click image\B_SQLFormatter.gif.

  2. If the SQL Optimizer window is opened, the selected SQL statement will automatically be copied to the SQL Formatter window. Otherwise, enter a SQL statement onto the left pane] of the SQL Formatter window.

  3. Click image\B_Format.gif.

The SQL Formatter will check the syntax of the SQL statement. Only if the syntax is correct will the SQL statement be formatted. The formatted SQL statement. is displayed in the right pane of the SQL Formatter window. 

To terminate the format process

  • Click image\B_AbortFormat.gif.

 

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택