Home » Developer & Programmer » Precompilers, OCI & OCCI » pro*c: sqlca.sqlerrd[4] does not work
pro*c: sqlca.sqlerrd[4] does not work [message #93709] Sat, 26 October 2002 10:29 Go to next message
Messages: 1
Registered: October 2002
Junior Member
I am trying to get the position of the sql error in the statement processed by EXEC SQL PREPARE an described in the docuentation by reading sqlca.sqlerrd[[4]], but this is always 0.

Thanx for Help
Re: pro*c: sqlca.sqlerrd[4] does not work [message #93713 is a reply to message #93709] Tue, 29 October 2002 18:26 Go to previous message
Messages: 19
Registered: July 2002
Junior Member
I think at time of PREPARE it won't give any error.
Have checked what the sqlca.sqlcode return after the EXEC SQL PREPARE statement?
I think error will deduct at the time of open,
display the sqlca.sqlcode after EXEC SQL OPEN ....statement.
Previous Topic: Could not create a connection with OCCI
Next Topic: Linking MF/COBOL .obj file using Oracle library oraSQL8.lib
Goto Forum:

Current Time: Mon May 27 09:50:39 CDT 2024