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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Fun and games with Pro*C

Re: Fun and games with Pro*C

From: Lonnie Blevins <lblevins_at_regenstrief.org>
Date: Tue, 17 Jun 2003 08:40:28 -0500
Message-ID: <bcn5ob$64j$1@hood.uits.indiana.edu>


Go to the oracle documentation site for the manual "PRO C/C++ Precompiler Programmer's Guide. Type in "orastxt". You will find full concrete example of the code to print out the last SQL statement that was executed.

http://tahiti.oracle.com/pls/db92/db92.drilldown?book=a97269&remark=docindex&expand_all=1

"Michael L. Hostbaek" <carlos_at_pez.dk> wrote in message news:slrnbeh6d2.uqh.carlos_at_freebsdcluster.dk...
> Lonnie Blevins tried to tell us something, and all I got was:
> > When the error is trapped by your code, look at the contents of of the
> > oraca.orastxt value. I have the following snippet of code that appends
the
> > last SQL statement to the other info I put into the error message I
> > construct in err_text, (which is char err_text[4096] in my PC code).
>
> I get nothing when I parse oraca.orastxt.. ??
>
> /mich
>
> --
> Regards,
> Michael L. Hostbaek
> -= So long, and thanks for all the fish.. =-
>
Received on Tue Jun 17 2003 - 08:40:28 CDT

Original text of this message

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