Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: OCI 8 Parse Error Offset

Re: OCI 8 Parse Error Offset

From: stuart coupe <stuart_at_easysoft.com>
Date: Thu, 15 Aug 2002 14:10:46 +0100
Message-ID: <3D5BA856.9060107@easysoft.com>

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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US