Previous | Next
Topic: Testing a procedure and not a function
Conf: 537, Msg: 38010
From: Richard Li (richardl@arsdigita.com)
Date: 9/26/00 08:12 AM

Testing a procedure and not a function Richard Li richardl@arsdigita.com richardl@arsdigita.com I have:

-- delete the object
utassert.eq (
msg_in => 'Deleting test object',
check_this_in => acs_object.delete(object_id => 101),
null_ok_in => TRUE
);

However, since acs_object.delete is a procedure and not a function, I get:

80/23 PLS-00222: no function with name 'DELETE' exists in this scope

I suppose I could convert the procedure to a function somehow, but is there another way?