[GENERAL] PL/SQL question

2004-04-20 Thread Froggy / Froggy Corp.
Hello everyone, I try to see if i can make a recursive function with a trigger set on INSERT and doing an insert under my trigger function. So i wrote a test function : CREATE OR REPLACE FUNCTION testfunc() RETURNS SETOF RECORD AS ' DECLARE use_t RECORD; BEGIN

Re: [GENERAL] PL/SQL question

2004-04-21 Thread Froggy / Froggy Corp.
Hello, In fact the problem seems to come from the "INSERT INTO". I delete everything from the function and only keep the "INSERT INTO" and get the same problem. Thx in advance for answers, regards, Stephan Szabo wrote: > > On Tue, 20 Apr 2004, Froggy / Froggy Corp. wrote: > > > I

Re: [GENERAL] PL/SQL question

2004-04-21 Thread Stephan Szabo
On Wed, 21 Apr 2004, Froggy / Froggy Corp. wrote: > In fact the problem seems to come from the "INSERT INTO". I delete > everything from the function and only keep the "INSERT INTO" and get the > same problem. A function like: create function fz1() returns void as ' begin INSERT INTO cate

Re: [GENERAL] PL/SQL question

2004-04-21 Thread Mike Nolan
> In fact the problem seems to come from the "INSERT INTO". I delete > everything from the function and only keep the "INSERT INTO" and get the > same problem. Given that this is supposed to be a trigger function, what's your 'create trigger' statement look like? Part of the problem may be