SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
create or replace FUNCTION fact(x number) RETURN number IS f number default 1; BEGIN IF x <> 0 THEN f := x * fact(x-1); END IF; RETURN f; END; select fact(6);
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear