RelationalDBDesign
SiteMap
Database Architecture
Database Admin
Managing Users
Managing DB Objects
Backup Recovery
Admin Tasks
DB Creation
«Prev
Next»
Creation Architecture
SQL*Plus
Oracle SQL*Plus
Locating Oracle Home
Shared Server Executable
Starting Shared Server
Shared Server Commands
Disconnect Command
Potential Mistake-commands
Shared Server Help
Describe Command
Oracle Describe
Spool Command
Execute SQL
Shared Server Conclusion
Database Architecture
Database File Types
Initialization File
Database Control File
Oracle Datafiles
Oracle Tablespaces
Extract TS Information
Redo Logs Crash-recovery
Preserve Redo Logs
Cycles Redo Log Files
Redo Log Info
Archived Redo Logs
Architecture Conclusion
Instance Architecture
Difference instance Database
Instance Overview
Asynchronous Process Coordination
System Global Area
System Monitor Process
Oracle Process Monitor
dbw0 Database Writer
Database Writing Time period
Writing Dirty Buffers
Checkpoint Trigger Database
Limiting Dirty Buffers
lgwr Log Writer
Llog Writing Process
Oracle Archiver Process
Archive Log List
CKPT Checkpoint Process
Other Oracle Processes
Memory Architecture
Database Buffer Cache
Oracle Shared Pool
Large Pool
Program Global Area
PGA DBWR SGA
PGA Contents
SharedServer PGA
Sort Area
Shared Server Areas
Database Creation
Redo Log File Sizes
Config Files
DBCreate Commands
Create Database Command
Create Oracle Service
Running pupbld Script
Starting Oracle Instance
Oracle SPOOL Command - Exercise
Spooling Some Output
Objective:
Run the SPOOL command to create an output file.
Exercise Scoring
You will receive ten points for this exercise.
The exercise is auto-scored; when you have completed the exercise, click the
Submit
button to receive full credit.
Instructions
Go ahead and spool some output, just to be sure that you know how. If you are running Oracle, you can complete this exercise, and if not, you can see what would happen by reading through the commands, and looking at the results. Start Oracle Shared Server, connect to your database, and issue the following series of commands:
SPOOL output SELECT owner, table_name FROM all_tables ORDER BY owner, table_name; SPOOL OFF
You should find the results in a file named output .log in your current working directory.
The .log extension will be used because it is the default and you did not specify anything else.