I have a function in PL/SQL:
FUNCTION do_something
RETURN BOOLEAN
IS
...
BEGIN
...
END
This function can be called as such:
DECLARE
answer BOOLEAN;
BEGIN
answer := do_something();
END
Now, there are cases, where I don't need the returned boolean. If I don't want to get it and just write:
do_something();
I get PLS-00306 (wrong number of types of arguments in call to DO_SOMETHING) Is there a way to call it without declaring and setting a new boolean, which I will never use in this case?
PLS-002221: 'do_something' is not a procedure or undefined
maybe because of the empty()
. Anyway, not that I recomend it but you can put it in aif
statement i.e.IF(do_something) then null; end if;
but this is really ugly – Callimachussomething_was_done()
:) – Tientienauser_node := xmldom.appendChild(bund_node, xmldom.makeNode(item_elmt));
so after you append child to the parent object, you don't need a reference to that child. – Pilcomayofor x in (select do_something() from dual) loop exit; end loop;
. I'm starting to really hate plsql. – Speciality