How to use New Predefined Variables to Set SQLPROMPT to Display the User, Date and/or Privileges (Doc ID 265723.1)

Last updated on OCTOBER 28, 2016

Applies to:

SQL*Plus - Version 10.1.0.2 and later
Information in this document applies to any platform.

Goal

To explain the new predefined variables introduced in 10g and how they can be used to make the SQL*PLUS Prompt display more informative.

These variables are available only in 10g or higher.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms