1CREATE OR REPLACE FUNCTION welcome_msgJune ( p_name IN VARCHAR2) RETURN VAR.CHAR2
2IS
3BEGIN
4RETURN (‘Welcome ‘|| p_name);
5END;
6/
7DECLARE
8lv_msg VARCHAR2(250);
9BEGIN
10lv_msg := welcome_msg_func (‘Guru99’);
11dbms_output.put_line(lv_msg);
12END;
13SELECT welcome_msg_func(‘Guru99:) FROM DUAL;
14