1 2 3 4 5 6 7 8 9 10 11 12 | create or replace function cubo(valor number) return number is v_valor number; begin select valor*valor*valor into v_valor from dual; return(v_valor); end; showerrors selectcubo(3)fromdual; |
Y3JlYXRlIG9yIHJlcGxhY2UgZnVuY3Rpb24gY3Vibyh2YWxvciBudW1iZXIpCnJldHVybiBudW1iZXIgaXMKdl92YWxvciBudW1iZXI7CmJlZ2luCnNlbGVjdCB2YWxvcip2YWxvcip2YWxvcgppbnRvIHZfdmFsb3IKZnJvbSBkdWFsOwpyZXR1cm4odl92YWxvcik7CmVuZDsKCnNob3dlcnJvcnMKc2VsZWN0Y3VibygzKWZyb21kdWFsOw==
-
upload with new input
-
result: Success time: 0s memory: 0 kB returned value: 2
mawk: prog.awk: line 1: syntax error at or near function



