Oracle9i SQL Reference
Release 1 (9.0.1)

Part Number A90125-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

SQL Statements:
CREATE TYPE to
DROP ROLLBACK SEGMENT, 12 of 26


DROP DIRECTORY

Purpose

Use the DROP DIRECTORY statement to remove a directory object from the database.

See Also:

CREATE DIRECTORY for information on creating a directory 

Prerequisites

To drop a directory, you must have the DROP ANY DIRECTORY system privilege.


Caution:

Do not drop a directory when files in the associated file system are being accessed by PL/SQL or OCI programs. 


Syntax

drop_directory::=


Text description of statements_844.gif follows
Text description of drop_directory

Keywords and Parameters

directory_name

Specify the name of the directory database object to be dropped.

Oracle removes the directory object but does not delete the associated operating system directory on the server's file system.

Example

DROP DIRECTORY Example

The following statement drops the directory object bfile_dir:

DROP DIRECTORY bfile_dir;

See Also:

"CREATE DIRECTORY Examples" 


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback