pro*c: sqlca.sqlerrd[4] does not work [message #93709] |
Sat, 26 October 2002 10:29 |
MiBae
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 |
Gnanam
Messages: 19 Registered: July 2002
|
Junior Member |
|
|
Hi
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.
|
|
|