View Single Post

   
  #1 (permalink)  
Old 04-19-2008, 10:12 PM
Steffen Koehler
 
Posts: n/a
Default finding the sql-statement in esql

Hi,

how can I get the created sql-statement after an error. I have written
an error-function and esql calls this function after an error (EXEC SQL
WHENEVER SQLERROR CALL ...). In this function I get the errornumber and
the errortext from sqlca. But where stands the last sql-statement which
create this error.

thanks for help
Steffen
Reply With Quote