All the time I'm working with DB2 I feel that DB2 authers just hate
their customers and users of their products...
The last example - I want to create a stored procedure in the script,
use it to add data to database inside this script and then drop this
procedure. And I want this script be able to run as a script and also
just copied to Command Editor.
But it is impossible!
You just cannot change statement termination char by something like
UPDATE COMMAND OPTIONS -t @! Statement termination char can be defined
only before the whole script execution - either in db2 -td @ or in
spetial options of the editor you are using. What a hell...
I hope I'm wrong. Does anybody know how to solve it?