| Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E12245-01 |
|
|
View PDF |
Applies To
Description
Returns the position at which a parsing error occurred in a SQL statement. Not available at design time and read-only at run time.
Usage
error_pos = oradatabase.LastServerErrPos
Data Type
Integer
Remarks
The LastServerErrPos property 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 the CreateDynaset or ExecuteSQL method).