Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

Exists (OraBFILE) Property

Applies To

OraBFILE

Description

Returns true if the OraBFile points to a BFILE that exists on the server.

Usage

exists = OraBFile.Exists

Remarks

Read privileges on the directory where the BFILE is located are required to use this property. The operating system-specific permissions must have been set for the directory to make sure that the user can read the directory.

Appropriate privileges must also have been set up in the database. For example, to ensure that a user (scott) can read a directory (BfileDirectory) through the Exists property, the following SQL statement needs to be executed:

GRANT READ ON DIRECTORY BfileDirectory TO scott;

Data Type

Boolean