Oracle Objects for OLE C++ Class Library
Release 9.2

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

Master Index

Feedback

Exists Method

Applies To

OBfile

Description

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

Usage

bool Exists(void) const throw(OException)

Arguments

none

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;


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

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

Master Index

Feedback