24.4. SQL*Plus

SQL*Plus is the interactive (low-level) user interface to the Oracle database management system. Typically, SQL*Plus is used to issue ad-hoc queries and to view the query result on the screen.

24.4.1. Features of SQL*Plus

  • A built-in command line editor can be used to edit (incorrect) SQL queries. Instead of this line editor any editor installed on the computer can be invoked.

  • There are numerous commands to format the output of a query.

  • SQL*Plus provides an online-help.

  • Query results can be stored in .les which then can be printed. Queries that are frequently issued can be saved to a .le and invoked later. Queries can be parameterised such that it is possible to invoke a saved query with a parameter.

24.4.2. Invoking SQL*Plus

Get Database Systems: Concepts, Design and Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.