Name
SET TRIMOUT — Not available in iSQL*Plus
Synopsis
The TRIMOUT setting controls whether SQL*Plus displays any trailing spaces that may occur at the end of a line. The default setting is ON, which causes SQL*Plus to display only up to the last nonblank character on a line.
Syntax
SET TRIM[OUT] {ON | OFF}Parameters
- SET TRIM[OUT]
Is the command, which may be abbreviated SET TRIM.
- ON
Causes SQL*Plus to trim any trailing spaces from each line before it's displayed. This is the default setting.
- OFF
Causes SQL*Plus to display all characters on a line, even the trailing spaces.
The default setting of ON usually works well when displaying data on a terminal, so there's rarely a reason to turn this setting off. TRIMOUT has no effect on spooled output. If you are spooling output to a file, the TRIMSPOOL setting controls whether trailing spaces are spooled as well.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access