Interrupt the server? Well, Monzy sang about that at one time, but depending on where are you executing the SQL statement from, SIGINT to the front end will usually do the trick. The "init 6" command, executed as user "root", should also be able to interrupt the server and the on-going SQL, as well as everything else. It's the reboot command.