Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: OCI 8 Parse Error Offset
Try something like :
OCIAttrGet ( oci_stmt, OCI_HTYPE_STMT, &offset, &size, OCI_ATTR_PARSE_ERROR_OFFSET, oci_err);
Cheers,
Stuart.
Chris Lopeman wrote:
>Hi all,
>
>I'm new here and I am sure that this will be an easy question for you
>experts to answer.
>
>I am doing some light work with the Oracle 8 OCI and I am having a
>problem finding a value that was pretty straight forward in 7. I am
>trying to find what use to be referred to as the Parse Error Offset.
>Basically an integer attempting to identify the bad spot in the query.
>Like the location of bad column name. I have found OCIErrorGet and
>assume this is the place to get the information from but just can't find
>it. I am sure I am missing something simple.
>
>Thanks ahead of time,
>
>Chris
>
Received on Thu Aug 15 2002 - 08:10:46 CDT