Created
June 3, 2017 09:33
-
-
Save adityadaniel/381097df1b2325d5a9e54c4a67b47f2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE | |
nama varchar2(100); | |
v_fname employees.first_name%type; | |
v_lname employees.last_name%type; | |
BEGIN | |
SELECT first_name, | |
last_name INTO v_fname, | |
v_lname | |
FROM employees | |
WHERE last_name='Chan'; | |
exception | |
when no_data_found then | |
dbms_output.put_line('Data karyawan tidak ditemukan.'); | |
END; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment