Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
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