Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Abort in Oracle
Hi,
I'd like to find a correct and reliable way to abort current operation
in Oracle and terminate a session. (Oracle8)
I've tested BREAK (OCIBreak()/Ctrl-C/...) and KILL (Alter system kill
session...)
but they don't seem to provide a reliable termination.
The action performed by BREAK and KILL vary from situation to situation. Here what I had:
1.
begin loop null; --BREAK end loop; end;
----------------------------
2.
exception when others then loop null; --BREAK end loop; end;
----------------------------
3.
4.
exception when others then loop null; end loop; end;
----------------------------
Is there a way to get rid of these "KILLED" sessions.
Are there any rules of using BREAK and KILL?
I would appreciate any information on the subject, sample codes in PL/SQL
and OCI.
Maybe you can point me to some site on the web where I can find such
information.
Thanks in advance,
Denis
---NOTE: DO NOT REPLY DIRECTLY TO ME, CUZ I'M POSTING THIS FOR A FRIEND---
--Received on Thu Apr 13 2000 - 00:00:00 CDT
------
Pasi Matilainen Student of Information Systems Science tel. +xxx-yy-zzzzzzz Faculty of Information Technology http://www.jyu.fi/~pasi/ University of Jyväskylä, Finland -- Sinustakin voi tulla Akateemikko @ http://akatemia.sby.abo.fi/ --