Asked By Troels Arvin
05-Sep-10 05:17 PM
Hello,
Is there a simple way to debug DB2 SQL procedures, such as: which branch
of a conditional construct was chosen, what value did a counter reach,
etc, _without_ installing some big, complicated IDE?
My question could maybe be rephrased as "is there a way to perform printf-
style debugging in DB2 SQL procedures?"
If not: I am considering creating a C-based UDF which logs arbitrary
strings to syslog, so that a SQL procedure can inform the surroundings of
its state during development.
--
Troels