If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
May I ask is this syntax correct for sql native stored procedure?
CASE sqlcode
WHEN 0
THEN
IF (error_routine = 'true')
some statement...
ELSE
some statement...
END IF
WHEN 100
some statement...
END CASE
I am really a beginner in native sql stored procedure in db2. I have many questions . Please bear with me . I can't see complete code examples for this, I don't have any pattern on creating one. I am reading the IBM site. but it is organized as LUW.