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

LastServerErrPos Property

See Also

Applies To

OraDatabase

Description

Returns the position in a SQL statement at which a parse error occurred. Not available at design time and read-only at run time.

Usage

error_pos = oradatabase.LastServerErrPos

Remarks

LastServerErrPos returns 0 if no SQL statements have been parsed, -1 if the last parse was successful, and >= 0 if the last parse failed. Parsing is done on SQL statements before execution (using CreateDynaset or ExecuteSQL).

Data Type

Integer