Created
December 22, 2014 23:05
-
-
Save JubbaSmail/07149632d323fd667fea 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 | |
--x varchar(20); | |
x customers %rowtype; | |
begin | |
select * into x | |
from customers | |
where customer_id=200; | |
if x.gender = 'F' then | |
dbms_output.put_line('Ms. ' || x.cust_first_name); | |
else | |
dbms_output.put_line('Mr. ' || x.cust_first_name); | |
end if; | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment