function in plsql
CREATE FUNCTION function_name … RETURN BOOLEAN IS
Definitions;
BEGIN
Statement;
RETURN "Hello World!";
END;
function in plsql
CREATE FUNCTION function_name … RETURN BOOLEAN IS
Definitions;
BEGIN
Statement;
RETURN "Hello World!";
END;
function plsql
CREATE OR REPLACE FUNCTION my_schema.my_function(param1 IN number) RETURN output1 IS
cnumber NUMBER;
BEGIN
cnumber := 2;
RETURN (cnumber * param1);
EXCEPTION
WHEN OTHERS THEN
raise_application_error(-20001, 'An error was encountered - '
|| sqlcode || ' -ERROR- ' || sqlerrm);
END;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us