Oracle Objects for OLE
Release 9.0.1

Part Number A90173-01

Home

Book List

Contents

Master Index

Feedback

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 © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents