angoca / db2tools

Set of routines that can ease your daily work.
GNU General Public License v2.0
1 stars 0 forks source link

Provide a way to sleep the execution #7

Open angoca opened 10 years ago

angoca commented 10 years ago

Sometimes a routine needs to stop the execution.

Create a java stored procedure that sleeps for a while. In java, in this way this allows to be used in different platforms.

This Java function, should have another function just to see if the jar was correctly installed.

angoca commented 10 years ago

The code is here: https://www.ibm.com/developerworks/community/blogs/SQLTips4DB2LUW/entry/sleep?lang=en