Skip to content
Advertisement

Kill Sybase processes using batch with java jdbc

I used Java to create a simple database process killer by sending a kill command in a loop. I want to know if I can use batch with kill command in one call:

JavaScript

Advertisement

Answer

I have the chance to try it and worked.

I have add some little changes to validate if it is only one process make a normal kill, and if it get more than one, then use batch.

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement