Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Question on Rollback
create or replace package pp as
procedure p1;
procedure p2;
end;
/
create or replace package body pp as
procedure p1 is
begin
p2;
end;
procedure p2 is
begin
p1;
end;
end;
/
Don't invoke either procedure as this stands,
you may have to abort the database and
reboot the system (if you are on an NT box).
--
Jonathan Lewis
Yet another Oracle-related web site: http://www.jlcomp.demon.co.uk
Hakan Eren wrote in message <380245F6.53187D4F_at_iprimus.ca>...
Hi,
Is it possible to create p1 without errors in Oracle8 (Without p2). =
As far as I know You cannot do that
in Oracle7. If it is possible I think that may cause some deadlock = problems, for example:
SQLWKS> CREATE OR REPLACE PROCEDURE p1 2> IS 3> BEGIN 4> p2; 5> END p1; 6> /
SQLWKS> CREATE OR REPLACE PROCEDURE p2 2> IS 3> BEGIN 4> p1; 5> END p2; 6> /