Just started doing some PL/SQL and I need some help creating a procedure I was assigned to practice:
Create a procedure that has two inputs - firstname and surname. The procedure should DBMS output the following 3 lines:
firstname surname (lowercase) FIRSTNAME SURNAME (uppercase) Firstname Surname (Initial uppercase)
The following PL/SQL functions can be used to assist:
UPPER( VARCHAR2 ), LOWER(VARCHAR2), INITCAP( VARCHAR2 )
I've tried this so far:
CREATE OR REPLACE PROCEDURE LabFourProc (firstname IN VARCHAR2, surname IN VARCHAR2)
IS
BEGIN
DBMS_OUTPUT.PUT_LINE(firstname, surnmame);
END LabFourProc;
/