< previous page page_503 next page >Page 503 About the Author Jonathan Gennick is a manager in KPMG's Public Services Systems Integration practice.. Jonathan has over seven years of expe
Trang 1< previous page page_501 next page >
Page 501
USER views, 181-182
USER_TABLES view, 194
Users
connecting as other, 30-32, 442
logging in as administrator, 326-330
product user profile, 23, 309-325
creating profile table, 316-318
disabling commands access, 318-320
disabling roles access, 320-321
limitations, 313-316
reporting on, 322-325
prompting for values, 124-137
display text for, 135-137
extract scripts, 165
session-duration definitions, 128-132
TERMOUT setting and, 127, 132
tables owned by, listing, 194
USING BACKUP CONTROLFILE clause (RECOVER), 452
UTLXPLAN.SQL script, 284
V
V$, V_$ pseudoviews (see dynamic performance views)
V7, V8 parameters (SET COMPATIBILITY), 408
VALIDATED column (ALL_CONSTRAINTS), 187
validating user input, 262
ACCEPT statement, 263-267
SQL for, 267-269
values, prompting users for, 124-137
Trang 2session-duration definitions, 128-132 TERMOUT setting and, 127, 132
VARCHAR2 datatype, 199, 229, 467
VAR[IABLE] command, 229, 467
Variable Size value (SGA), 337
variables
bind variables, 228-243
declaring, 229, 467
displaying contents of, 233-238 how to use, 238-243
printing contents automatically, 386 substitution variables with, 230-233 prompting users for values, 124-137 display text for, 135-137
extract scripts, 165
session-duration definitions, 128-132 TERMOUT setting and, 127, 132 resetting definitions, 131, 146
SQL*Plus system variables, 78
substitution (user) variables
bind variables with, 230-233
changing prefix character, 151 defining, 128-132, 144-146, 443 disabling, 150
examining/listing, 145
extract scripts, 165
reports, 93-94
scripts, 123-132
settings for, 410-413
Trang 3troubleshooting, 146-151
verification, 137
within comments, 153
VAR[IANCE] parameter (COMPUTE command), 98, 441 V$DATAFILE view, 342
verification, turning off, 137, 394
VER[IFY] setting, 137, 394
version of Oracle, specifying, 407
versions of SQL*Plus, xviii
command-line vs GUI, 18
displayed at startup, 22, 25
VIEW operation (EXPLAIN PLAN), 292
views
data dictionary, 180-193
definitions of, viewing, 176
dynamic performance views, 293
VIS[IBLE] parameter (SET SHIFTINOUT), 380
V$LOGFILE view, 342
W
WARNING parameter
EXIT command, 446
QUIT command, 450
WHEN_CLAUSE column (ALL_TRIGGERS), 191 WHENEVER command, 271-276, 468
WHENEVER OSERROR, 271, 274-276, 468
WHENEVER SQLERROR, 271-274, 468
WHERE clause, simulating branching with, 244-245 width (see size)
Windows environment variables, setting, 361-363
Trang 4Windows shortcuts for scripts, 140-142
Trang 5
< previous page page_502 next page >
Page 502
word wrap, 37, 384, 473
WOR[D_WRAPPED] parameter
COLUMN command, 71, 440, 473
SET SERVEROUTPUT command, 391
work file names, 417
working directory, 62-64
WRA[P] setting, 384
WRA[PPED] parameter
SET RECSEP command, 378
COLUMN command, 71, 440
SET SERVEROUTPUT command, 391
wrapping output lines, 37, 384, 473
writing SQL with SQL, 163, 250-252, 257-259
Trang 6
< previous page page_503 next page >
Page 503
About the Author
Jonathan Gennick is a manager in KPMG's Public Services Systems Integration practice Jonathan has over seven years
of experience working with relational database technology, and is currently the lead database administrator for the utilities group working out of KPMG's Detroit office In his day-to-day work as a DBA, Jonathan has come to depend heavily on SQL*Plus, and uses it extensively
When he is not managing databases, Jonathan can often be found writing or editing books about them His writing
career began in 1997, when he coauthored Teach Yourself PL/SQL in 21 Days (Sams) Since then, he has been involved with four other book projects He was the technical editor for Oracle8 Server Unleashed (Sams), the development editor for Teach Yourself Access 2000 in 24 Hours (Sams), a technical reviewer for Oracle Database Administration: The
Essential Reference (O'Reilly & Associates), and the author of the book you are holding now.
Jonathan is a member of MENSA, and he holds a bachelor of arts degree in Information and Computer Science from Andrews University in Berrien Springs, Michigan Jonathan currently resides in Lansing, Michigan, with his wife
Donna and their two children: ten-year-old Jenny, who often wishes her father wouldn't spend quite so much time
writing, and three-year-old Jeff, who has never seen it any other way Jonathan may be contacted by email at
jonathan@gennick.com.
Colophon
The animal on the cover of Oracle SQL*Plus: The Definitive Guide is a moving leaf (Phyllium giganteum), a large (about 10 cm in length) Malaysian leaf insect related to stick insects; together these constitute the order Phasmalida,
derived from the Greek word for ghost These stunning insects imitate local foliage with intricate detail, down to the leaf-like veins on their legs and tattered brown edges to mimic dead leaves Moving leaf insects feed on bramble and other plant material Kept by many entymologists as exotic pets, they require high temperature and humidity
Ellie Fountain Maden was the production editor and project manager for Oracle SQL*Plus: The Definitive Guide, and
also copyedited the book Quality assurance was provided by Madeleine Newell, Sarah Jane Shangraw, and Sheryl Avruch, who was also the production manager Ellie Cutler proofread the book, and Seth Maislin wrote the index
Trang 7
< previous page page_504
Page 504
Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive The cover layout was produced by Kathleen Wilson with Quark XPress 3.32 using the ITC Garamond font
The inside layout was designed by Nancy Priest and implemented in FrameMaker 5.5 by Mike Sierra The text and heading fonts are ITC Garamond Light and Garamond Book The illustrations that appear in the book were created in Macromedia FreeHand 8 and Adobe Photoshop 5 by Robert Romano This colophon was written by Nancy Kotary
Whenever possible, our books use RepKover, a durable and flexible lay-flat binding If the page count exceeds
RepKover's limit, perfect binding is used