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

IsFieldNullOK Method

Applies To

OValue

Description

This method returns TRUE if the field can accept NULL values.

Usage

oboolean IsFieldNullOK(int index) const

oboolean IsFieldNullOK(const char *fieldname) const

Arguments
Description
index
The 0-based index of the field. The index is the position of the field in the SQL query that created the current record set.
fieldname
The name of the field, as expressed in the SQL query.
Remarks

NULL is a possible value for Oracle database fields. This database NULL is different from a C++ NULL. Database NULLs mean "no value set". Some fields are not allowed to contain NULLS. This routine tells you whether the indicated field is allowed to have NULL values.

Return Value

TRUE if the field can contain NULLs; FALSE otherwise.


 
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