Re: [Orclib-users] Result Fetch Status
Open source C and C++ library for accessing Oracle Databases
Brought to you by:
vince_del_paris
From: Rafael C. <cu...@gm...> - 2014-11-14 01:38:08
|
Hi Vincent Thanks , it worked Regards Luiz 2014-11-13 19:20 GMT-02:00 vincent rogier <vin...@gm...>: > Hi, > > the equivalent of SQL_NO_DATA_FOUND is OCI_FetchNext() returning FALSE > with no error encountered errors. > Thus, if you pass the flag OCI_ENV_CONTEXT to OCI_Initialize(), you can > retrieve the last error after calling OCI_FetchNext(). > If OCI_FetchNext() returns FALSE and OCI_GetLastError() returns NULL its > means SQL_NO_DATA_FOUND. > > Regards, > > Vincent > > On Wed, Nov 12, 2014 at 5:37 PM, Rafael Culik <cu...@gm...> wrote: > >> Hi. Is their an simple way to get the fetch_status from OCI_Resultset >> structure? >> >> In ony my aplication o need to mimic ODBC SQLFetch( hStmt ); function and >> check for the SQL_NO_DATA_FOUND returned. if their an way to mimic this >> with orclib? >> >> Regards >> Luiz >> >> >> >> >> ------------------------------------------------------------------------------ >> Comprehensive Server Monitoring with Site24x7. >> Monitor 10 servers for $9/Month. >> Get alerted through email, SMS, voice calls or mobile push notifications. >> Take corrective actions from your mobile device. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >> _______________________________________________ >> Orclib-users mailing list >> Orc...@li... >> https://lists.sourceforge.net/lists/listinfo/orclib-users >> >> > > > -- > Vincent Rogier > |