Hi
I am handling EXCEPTION n DB2 for getting SQLSTATE i am using
GET DIAGNOSTICS CONDITION 1 v_state = RETURNED_SQLSTATE;
But when running this statement i m getting error message that RETURNED_SQLSTATE unexpected token.
So tell me how it can be used .
Please help me
Regards
Amit