Book description
This book is the definitive guide to SQL*Plus. If you want to take best advantage of the power and flexibility of this popular Oracle tool, you need this book. SQL*Plus is an interactive query tool that is ubiquitous in the Oracle world. It is present in every Oracle installation and is available to almost every Oracle developer and database administrator. SQL*Plus has been shipped with Oracle since at least version 6. It continues to be supported and enhanced with each new version of Oracle, including Oracle8 and Oracle8i. It is still the only widely available tool for writing SQL scripts. Despite this wide availability and usage, few developers and DBAs know how powerful SQL*Plus really is. This book introduces SQL*Plus, includes a quick reference to all of its syntax options, and, most important, provides chapters that describe, in step-by-step fashion, how to perform all of the tasks that Oracle developers and DBAs want to perform with SQL*Plus -- and maybe some they didn't realize they COULD perform with SQL*Plus. You will learn how to write and execute script files, generate ad hoc reports, extract data from the database, query the data dictionary tables, customize your SQL*Plus environment, and use the SQL*Plus administrative features (new in Oracle8i). This book is an indispensable resource for readers who are new to SQL*Plus, a task-oriented learning tool for those who are already using it, and a quick reference for every user. A table of contents follows:
Preface
Introduction to SQL*Plus
Interacting with SQL*Plus
Generating Reports with SQL*Plus
Writing SQL*Plus Scripts
Extracting Data with SQL*Plus
Exploring Your Database with SQL*Plus
Advanced Scripting
Tuning and Timing
The Product User Profile
Administration with SQL*Plus
Customizing Your SQL*Plus Environment
A. SQL*Plus Command Reference
B. Connect Strings and the SQL*Plus Command
Appendices
Table of contents
-
Oracle SQL*Plus: The Definitive Guide
- Preface
- 1. Introduction to SQL*Plus
- 2. Interacting with SQL*Plus
-
3. Generating Reports with SQL*Plus
- Following a Methodology
- Saving Your Work
- Designing a Simple Report
- Advanced Report Formatting
- Totals and Subtotals
- Other Reporting Topics
-
4. Writing SQL*Plus Scripts
- Why Write Scripts?
- Using Substitution Variables
- Prompting for Values
- Cleaning Up the Display
- Packaging Your Script
- The DEFINE and UNDEFINE Commands
- Controlling Variable Substitution
- Commenting Your Scripts
- 5. Extracting and Loading Data
- 6. Exploring Your Database
- 7. Advanced Scripting
- 8. Tuning and Timing
- 9. The Product User Profile
- 10. Administration with SQL*Plus
-
11. Customizing Your SQL*Plus Environment
- SQL*Plus Settings You Can Control
- The Site and User Profiles
- Environment Variable Settings
- The SET Command
- The SHOW Command
-
A. SQL*Plus Command Reference
- SQLPLUS
- Comment Delimiters (/*...*/)
- Double Hyphen (- -)
- At Sign (@)
- Double At Sign (@@)
- Forward Slash (/)
- ACCEPT
- APPEND
- ARCHIVE LOG
- ATTRIBUTE
- BREAK
- BTITLE
- CHANGE
- CLEAR
- COPY
- COLUMN
- COMPUTE
- CONNECT
- DEFINE
- DEL
- DESCRIBE
- DISCONNECT
- EDIT
- EXECUTE
- EXIT
- GET
- HELP
- HOST
- INPUT
- LIST
- PASSWORD
- PAUSE
- PROMPT
- QUIT
- RECOVER
- REMARK
- REPFOOTER
- REPHEADER
- RUN
- SAVE
- SET
- SHOW
- SHUTDOWN
- SPOOL
- START
- STARTUP
- STORE
- TIMING
- TTITLE
- UNDEFINE
- VARIABLE
- WHENEVER
- B. SQL*Plus Format Elements
- Index
- Colophon
Product information
- Title: Oracle SQL*Plus: The Definitive Guide
- Author(s):
- Release date: March 1999
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565925786
You might also like
book
Oracle SQL*Plus: The Definitive Guide, 2nd Edition
Despite its wide availability and usage, few developers and DBAs have mastered the true power of …
book
Oracle PL/SQL for DBAs
PL/SQL, Oracle's powerful procedural language, has been the cornerstone of Oracle application development for nearly 15 …
video
Oracle PL/SQL
In this training course by Lewis Cunningham on Oracle PL/SQL Programming, you will learn how to …
book
Oracle PL/SQL Best Practices
In this book, Steven Feuerstein, widely recognized as one of the world's experts on the Oracle …