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

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