October 2002
Beginner
864 pages
18h 41m
English
You can also use SQL to generate other forms of scripts, such as shell scripts. For example, an Oracle RDBMS server may be running in a UNIX environment, which is typically much larger than a PC operating system environment. Therefore, UNIX requires a more organized approach to file management. You can use SQL to easily manage the database files by creating shell scripts.
The following scenario drops tablespaces in a database. Although tablespaces can be dropped using SQL, the actual data files associated with these tablespaces must be removed from the operating system separately.
The first step is to generate an SQL script to drop the tablespaces.
SQL> SET ECHO OFF SQL> SET FEEDBACK OFF SQL> SET HEADING OFF ...
Read now
Unlock full access