覲
declare
i number := 10;
b boolean;
str varchar(20);
type varArrary is table of number index by pls_integer;
comm_tab varArrary;
覲 螳 (讌)
declare
i number := 10;
b boolean;
str varchar(20);
type varArrary is table of number index by pls_integer;
comm_tab varArrary;
begin
i := i + 1;
b := (i < 3);
str := '伎';
comm_tab(10) := 20*20;
end;
覲 螳 (into 伎)
declare
bonus number(8,2);
emp_id number(6) := 100;
begin
select salary * 0.10
into bonus
from employees
where employee_id = emp_id;
dbms_output.put_line('bonus = ' || bonus);
end;
覲 螳 豢
declare
i number := 10;
b boolean;
str varchar(20);
type varArrary is table of number index by pls_integer;
comm_tab varArrary;
begin
i := i + 1;
b := (i < 3);
str := '伎';
comm_tab(10) := 20*20;
dbms_output.put_line(i);
if b = true then
dbms_output.put_line('true');
else
dbms_output.put_line('false');
end if;
dbms_output.put_line(str);
dbms_output.put_line(comm_tab(10));
end;
declare
credit_limit CONSTANT NUMBER := 5000.00;