Skip Headers

Oracle® Objects for OLE Developer's Guide
Release 9.2.0.4

Part Number B10952-01
Go To Table Of Contents
Contents

LastServerErrText Property

See Also
Example
Applies To

OraDatabase

OraSession

Description

Returns the textual message associated with the current LastServerErr of the specified object. Not available at design time and read-only at run time.

Usage

error_text = orasession.LastServerErrText

error_text = oradatabase.LastServerErrText

Remarks

The returned value indicates one of three possible states:

  1. If NULL is returned, an Oracle Call Interface (OCI) database function has not returned an error since the most recent LastServerErrReset.

  2. If a non-NULL value is returned, an OCI function has returned an error code; the returned string is the associated message.

  3. If the message is empty, then additional information was not available.

Data Type

String


 
Oracle
Copyright © 1994, 2003 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents