- Page 1 and 2: SQL*Plus® User’s Guide and Refer
- Page 3 and 4: Contents Send Us Your Comments ....
- Page 5 and 6: iSQL*Plus History Screen ..........
- Page 7 and 8: Understanding SQL Command Syntax...
- Page 9 and 10: Defining Page and Report Titles and
- Page 11 and 12: 12 SQL*Plus Globalization Support C
- Page 13 and 14: SET DESCRIBE.......................
- Page 15 and 16: Part IV SQL*Plus Appendixes A SQL*P
- Page 17 and 18: SQL*Plus User’s Guide and Referen
- Page 19 and 20: Preface The SQL*Plus (pronounced "s
- Page 21 and 22: Structure This document contains: S
- Page 23 and 24: Related Documents PART IV, SQL*Plus
- Page 25 and 26: Conventions in Text We use various
- Page 27 and 28: Convention Meaning Example . . . Ve
- Page 29 and 30: Convention Meaning Example ORACLE_H
- Page 31 and 32: What's New in SQL*Plus? This sectio
- Page 33 and 34: You can view the predefined variabl
- Page 35 and 36: SQL*Plus Quick Start These instruct
- Page 37 and 38: Before Starting SQL*Plus or iSQL*Pl
- Page 39 and 40: 4. Click OK. SQL*Plus starts and co
- Page 41 and 42: You need to unlock the HR account b
- Page 43: Part I SQL*Plus Getting Started Thi
- Page 47 and 48: Web Browser Application Server Orac
- Page 49 and 50: How Can I Learn SQL*Plus Oracle Dat
- Page 51 and 52: 2 SQL*Plus User Interface This chap
- Page 53 and 54: Windows Graphical User Interface Wi
- Page 55 and 56: � Save Create saves the contents
- Page 57 and 58: Options Menu The Options menu has t
- Page 59 and 60: Windows Graphical User Interface If
- Page 61 and 62: iSQL*Plus User Interface Three navi
- Page 63 and 64: iSQL*Plus User Interface iSQL*Plus
- Page 65 and 66: Username: Enter a valid username or
- Page 67 and 68: iSQL*Plus DBA Workspace iSQL*Plus U
- Page 69 and 70: iSQL*Plus User Interface Scripts ar
- Page 71 and 72: iSQL*Plus User Interface Interface
- Page 73 and 74: iSQL*Plus User Interface Script Exe
- Page 75 and 76: Preferences and Equivalent SET Comm
- Page 77 and 78: Table 2-3 Script Execution Preferen
- Page 79 and 80: 3 Configuring SQL*Plus This chapter
- Page 81 and 82: SQL*Plus and iSQL*Plus Environment
- Page 83 and 84: SQL*Plus and iSQL*Plus Configuratio
- Page 85 and 86: User Profile -- Used for the SHOW S
- Page 87 and 88: Restoring the System Variables To r
- Page 89 and 90: 2. In UNIX, run the shell script, H
- Page 91 and 92: iSQL*Plus Application Server Config
- Page 93 and 94: Setting the Level of iSQL*Plus Logg
- Page 95 and 96:
Restart iSQL*Plus for your changes
- Page 97 and 98:
iSQL*Plus Application Server Config
- Page 99 and 100:
iSQL*Plus Application Server Config
- Page 101 and 102:
iSQL*Plus Application Server Config
- Page 103 and 104:
iSQL*Plus Web Browser Configuration
- Page 105 and 106:
Example 3-2 The ARRAYSIZE is set to
- Page 107 and 108:
Windows Graphical User Interface Co
- Page 109 and 110:
4 Starting SQL*Plus This chapter de
- Page 111 and 112:
Username: Enter your Oracle Databas
- Page 113 and 114:
Net Service Name � as an argument
- Page 115 and 116:
Starting SQL*Plus Starting SQL*Plus
- Page 117 and 118:
Starting SQL*Plus The SQL*Plus comm
- Page 119 and 120:
Starting the iSQL*Plus Application
- Page 121 and 122:
Stopping the iSQL*Plus Application
- Page 123 and 124:
UserOpts is UserLogin|Script|UserLo
- Page 125 and 126:
Exiting the Command-line User Inter
- Page 127 and 128:
HELP Option -H[ELP] SQLPLUS Program
- Page 129 and 130:
SQLPLUS Program Syntax If text incl
- Page 131 and 132:
SQLPLUS Program Syntax MARKUP Usage
- Page 133 and 134:
Start SQLPLUS Program Syntax passwo
- Page 135:
Part II Using SQL*Plus This section
- Page 138 and 139:
Entering and Executing Commands Ent
- Page 140 and 141:
Listing a Table Definition Listing
- Page 142 and 143:
Running SQL Commands 5-6 SQL*Plus U
- Page 144 and 145:
Running PL/SQL Blocks Running PL/SQ
- Page 146 and 147:
Running SQL*Plus Commands Running S
- Page 148 and 149:
System Variables that Affect How Co
- Page 150 and 151:
Saving Changes to the Database Auto
- Page 152 and 153:
Interpreting Error Messages � If
- Page 154 and 155:
Editing Scripts Editing Scripts In
- Page 156 and 157:
Editing Scripts in SQL*Plus Command
- Page 158 and 159:
Editing Scripts in SQL*Plus Command
- Page 160 and 161:
Editing Scripts in SQL*Plus Command
- Page 162 and 163:
Placing Comments in Scripts Using t
- Page 164 and 165:
Placing Comments in Scripts 3 HELLO
- Page 166 and 167:
Running Scripts Example 6-7 Running
- Page 168 and 169:
Defining Substitution Variables Def
- Page 170 and 171:
Using Substitution Variables after
- Page 172 and 173:
Using Substitution Variables Avoidi
- Page 174 and 175:
Using Substitution Variables Create
- Page 176 and 177:
Substitution Variables in iSQL*Plus
- Page 178 and 179:
Passing Parameters through the STAR
- Page 180 and 181:
Communicating with the User While y
- Page 182 and 183:
Communicating with the User ACCEPT
- Page 184 and 185:
Using Bind Variables Using Bind Var
- Page 186 and 187:
Using REFCURSOR Bind Variables PL/S
- Page 188 and 189:
Using REFCURSOR Bind Variables Exam
- Page 190 and 191:
Formatting Columns Changing Default
- Page 192 and 193:
Formatting Columns Formatting NUMBE
- Page 194 and 195:
Formatting Columns � NVARCHAR2 (N
- Page 196 and 197:
Formatting Columns Example 7-6 Form
- Page 198 and 199:
Formatting Columns Example 7-8 Rese
- Page 200 and 201:
Clarifying Your Report with Spacing
- Page 202 and 203:
Clarifying Your Report with Spacing
- Page 204 and 205:
Clarifying Your Report with Spacing
- Page 206 and 207:
Clarifying Your Report with Spacing
- Page 208 and 209:
Clarifying Your Report with Spacing
- Page 210 and 211:
Clarifying Your Report with Spacing
- Page 212 and 213:
Defining Page and Report Titles and
- Page 214 and 215:
Defining Page and Report Titles and
- Page 216 and 217:
Defining Page and Report Titles and
- Page 218 and 219:
Defining Page and Report Titles and
- Page 220 and 221:
Defining Page and Report Titles and
- Page 222 and 223:
Defining Page and Report Titles and
- Page 224 and 225:
Storing and Printing Query Results
- Page 226 and 227:
Storing and Printing Query Results
- Page 228 and 229:
Creating Reports using Command-line
- Page 230 and 231:
Creating Reports using Command-line
- Page 232 and 233:
Creating Reports using Command-line
- Page 234 and 235:
Creating Reports using iSQL*Plus Cr
- Page 236 and 237:
Creating Reports using iSQL*Plus Ex
- Page 238 and 239:
Creating Reports using iSQL*Plus 8-
- Page 240 and 241:
Tracing Statements Controlling the
- Page 242 and 243:
Tracing Statements Execution Plan S
- Page 244 and 245:
Tracing Statements LAST_NAME SALARY
- Page 246 and 247:
Collecting Timing Statistics Collec
- Page 248 and 249:
Tracing Parallel and Distributed Qu
- Page 250 and 251:
SQL*Plus Script Tuning COLUMN NOPRI
- Page 252 and 253:
SQL*Plus Script Tuning SET TAB SET
- Page 254 and 255:
PRODUCT_USER_PROFILE Table Creating
- Page 256 and 257:
Disabling SQL*Plus, SQL, and PL/SQL
- Page 258 and 259:
Disabling SQL*Plus, SQL, and PL/SQL
- Page 260 and 261:
Creating and Controlling Roles Disa
- Page 262 and 263:
Program Argument Security Program A
- Page 264 and 265:
iSQL*Plus Security Enabling or Disa
- Page 266 and 267:
Introduction to Database Startup an
- Page 268 and 269:
Redo Log Files Redo Log Files Examp
- Page 270 and 271:
Database Recovery 11-6 SQL*Plus Use
- Page 272 and 273:
Configuring Globalization Support i
- Page 274 and 275:
NLS_LANG Environment Variable where
- Page 276 and 277:
Setting NLS_LANG 12-6 SQL*Plus User
- Page 279 and 280:
13 SQL*Plus Command Reference This
- Page 281 and 282:
Command Page Description COPY on pa
- Page 283 and 284:
Command Page Description UNDEFINE o
- Page 285 and 286:
Usage Examples @ ("at" sign) All pr
- Page 287 and 288:
Examples @@ (double "at" sign) If t
- Page 289 and 290:
ACCEPT Syntax Terms ACCEPT ACC[EPT]
- Page 291 and 292:
APPEND Syntax Examples APPEND is no
- Page 293 and 294:
an online redo log file group is re
- Page 295 and 296:
ATTRIBUTE Syntax Terms ATTRIBUTE [t
- Page 297 and 298:
BREAK Syntax Terms BRE[AK] [ON repo
- Page 299 and 300:
BREAK When you omit actions, BREAK
- Page 301 and 302:
DEPARTMENT_ID JOB_ID LAST_NAME SALA
- Page 303 and 304:
Examples BTITLE You can avoid this
- Page 305 and 306:
Examples CHANGE You can also use CH
- Page 307 and 308:
CLEAR Syntax Terms CL[EAR] option .
- Page 309 and 310:
COLUMN Syntax COL[UMN] [{column | e
- Page 311 and 312:
COLUMN The default setting for COLU
- Page 313 and 314:
Table 13-1 Number Formats Element E
- Page 315 and 316:
NEWL[INE] COLUMN Starts a new line
- Page 317 and 318:
Examples session, until you turn th
- Page 319 and 320:
To display the change, enter a SELE
- Page 321 and 322:
LAB[EL] text COMPUTE Defines the la
- Page 323 and 324:
To calculate the total of salaries
- Page 325 and 326:
COMPUTE To total the salary at the
- Page 327 and 328:
Usage Examples AS {SYSOPER | SYSDBA
- Page 329 and 330:
DEFINE Syntax Terms Usage DEF[INE]
- Page 331 and 332:
Predefined Variables _CONNECT_IDENT
- Page 333 and 334:
_SQLPLUS_RELEASE _USER DEFINE � A
- Page 335 and 336:
DEL Syntax Terms Usage DEL is not a
- Page 337 and 338:
DESCRIBE Syntax Terms Usage DESC[RI
- Page 339 and 340:
To describe a procedure called CUST
- Page 341 and 342:
To create and describe the object t
- Page 343 and 344:
To create a table which contains a
- Page 345 and 346:
EDIT Syntax Usage EDIT is not avail
- Page 347 and 348:
EXECUTE Syntax Usage Examples EXEC[
- Page 349 and 350:
Usage Examples :BindVariable Repres
- Page 351 and 352:
Examples The operating system file
- Page 353 and 354:
HOST Syntax Usage HOST is not avail
- Page 355 and 356:
INPUT Syntax Usage Examples INPUT i
- Page 357 and 358:
LIST Syntax Terms Examples L[IST] [
- Page 359 and 360:
PASSWORD Syntax Usage Examples PASS
- Page 361 and 362:
PRINT Syntax Usage Examples PRI[NT]
- Page 363 and 364:
RECOVER Syntax RECOVER {general | m
- Page 365 and 366:
RECOVER initialization parameter LO
- Page 367 and 368:
STANDBY DATAFILE RECOVER Reconstruc
- Page 369 and 370:
UNTIL CHANGE integer RECOVER Proces
- Page 371 and 372:
Examples RECOVER During recovery yo
- Page 373 and 374:
REPFOOTER Syntax Terms Usage REPF[O
- Page 375 and 376:
REPHEADER Syntax Terms REPH[EADER]
- Page 377 and 378:
Usage Examples REPHEADER If you do
- Page 379 and 380:
SAVE Syntax Terms Usage SAVE is not
- Page 381 and 382:
SET Syntax Usage Sets a system vari
- Page 383 and 384:
System Variable Page Description SE
- Page 385 and 386:
System Variable Page Description *S
- Page 387 and 388:
SET ARRAY[SIZE] {15 | n} SET System
- Page 389 and 390:
SET System Variable Summary When SQ
- Page 391 and 392:
Example To set the column separator
- Page 393 and 394:
SET System Variable Summary SET DES
- Page 395 and 396:
SET ESC[APE] {\ | c | ON | OFF} Exa
- Page 397 and 398:
If you then run a SQL SELECT comman
- Page 399 and 400:
SET System Variable Summary The CLO
- Page 401 and 402:
SET System Variable Summary Use you
- Page 403 and 404:
SET PAU[SE] {ON | OFF | text} SET S
- Page 405 and 406:
CREATE TABLE SERVER_TAB (Letter CHA
- Page 407 and 408:
SET SQLBL[ANKLINES] {ON | OFF} Exam
- Page 409 and 410:
SQL*Plus Compatibility Matrix SET S
- Page 411 and 412:
To set the SQL*Plus command prompt
- Page 413 and 414:
SET TRIM[OUT] {ON | OFF} SET TRIMOU
- Page 415 and 416:
SHOW Shows the compilation errors o
- Page 417 and 418:
Examples SPOO[L] Shows whether outp
- Page 419 and 420:
ORIGINAL NAME RECYCLEBIN NAME OBJEC
- Page 421 and 422:
Usage Examples SHUTDOWN still conne
- Page 423 and 424:
Usage Examples of SPOOL Command SPO
- Page 425 and 426:
Usage Examples See "Defining Substi
- Page 427 and 428:
MOUNT dbname Mounts a database but
- Page 429 and 430:
STARTUP To shutdown a particular da
- Page 431 and 432:
TIMING Syntax Terms Usage TIMI[NG]
- Page 433 and 434:
TTITLE Syntax Terms TTI[TLE] [print
- Page 435 and 436:
Usage BOLD TTITLE Prints data in bo
- Page 437 and 438:
UNDEFINE Syntax Examples UNDEF[INE]
- Page 439 and 440:
NCHAR (n) VARIABLE Creates a variab
- Page 441 and 442:
Examples VARIABLE SQL*Plus formatti
- Page 443 and 444:
variable id datatype NUMBER variabl
- Page 445 and 446:
To print 200 characters from the co
- Page 447 and 448:
Usage Examples WHENEVER OSERROR If
- Page 449 and 450:
Usage Examples WHENEVER SQLERROR Th
- Page 451 and 452:
14 SQL*Plus Error Messages This app
- Page 453 and 454:
SQL*Plus Error Messages SP2-0024 No
- Page 455 and 456:
SQL*Plus Error Messages SP2-0055 ou
- Page 457 and 458:
SQL*Plus Error Messages SP2-0107 No
- Page 459 and 460:
SQL*Plus Error Messages SP2-0138 no
- Page 461 and 462:
SP2-0226 Invalid line number curren
- Page 463 and 464:
SQL*Plus Error Messages SP2-0266 in
- Page 465 and 466:
SQL*Plus Error Messages SP2-0312 mi
- Page 467 and 468:
SQL*Plus Error Messages SP2-0381 co
- Page 469 and 470:
SQL*Plus Error Messages SP2-0516 In
- Page 471 and 472:
SQL*Plus Error Messages SP2-0552 Bi
- Page 473 and 474:
SQL*Plus Error Messages SP2-0582 Us
- Page 475 and 476:
SQL*Plus Error Messages SP2-0609 Us
- Page 477 and 478:
SQL*Plus Error Messages particular
- Page 479 and 480:
SQL*Plus Error Messages SP2-0675 CO
- Page 481 and 482:
SQL*Plus Error Messages SP2-0736 Co
- Page 483 and 484:
SQL*Plus Error Messages SP2-0752 Us
- Page 485 and 486:
SP2-0775 Automatic Storage Manager
- Page 487 and 488:
SQL*Plus Error Messages SP2-0808 Pa
- Page 489 and 490:
SQL*Plus Error Messages SP2-0818 Ty
- Page 491 and 492:
SQL*Plus Error Messages SP2-0829 Fu
- Page 493 and 494:
SQL*Plus Error Messages SP2-0841 Ty
- Page 495 and 496:
iSQL*Plus Error Messages iSQL*Plus
- Page 497 and 498:
iSQL*Plus Error Messages SP2-0865 S
- Page 499 and 500:
iSQL*Plus Error Messages SP2-0882 E
- Page 501 and 502:
iSQL*Plus Error Messages SP2-0912 O
- Page 503 and 504:
iSQL*Plus Error Messages SP2-0927 C
- Page 505 and 506:
COPY Command Messages CPY-0007 Sele
- Page 507:
This section contains the following
- Page 510 and 511:
Table A-1 SQL*Plus Limits Item Limi
- Page 512 and 513:
COPY Command Syntax Terms Refer to
- Page 514 and 515:
Copying Data from One Database to A
- Page 516 and 517:
Copying Data from One Database to A
- Page 518 and 519:
Copying Data from One Database to A
- Page 520 and 521:
Copying Data between Tables on One
- Page 522 and 523:
BTI[TLE] text (obsolete old form) O
- Page 524 and 525:
SET CLOSECUR[SOR] {ON|OFF} (obsolet
- Page 526 and 527:
TTI[TLE] text (obsolete old form) S
- Page 528 and 529:
D-2 SQL*Plus User’s Guide and Ref
- Page 530 and 531:
Numerics 0, number format, 7-5 9, n
- Page 532 and 533:
uffer, 5-3 appending text to a line
- Page 534 and 535:
command files (continued) in SQLPLU
- Page 536 and 537:
creating PLUSTRACE role, 9-3 creati
- Page 538 and 539:
fields (continued) password, 2-12,
- Page 540 and 541:
iSQL*Plus DBA URL, 3-17 iSQLPlusAll
- Page 542 and 543:
O objects, describing, 13-115 obsol
- Page 544 and 545:
query results displaying on-screen,
- Page 546 and 547:
screens (continued) enter statement
- Page 548 and 549:
SKIP clause in BREAK command, 7-14,
- Page 550 and 551:
summary lines computing and printin
- Page 552:
VARCHAR2 clause VARIABLE command, 1