关键字 | 说明 |
deaclare | |
begin | |
exectpion | |
end | |
dbms_output.put_line() | 输出 |
:= | 赋值 |
|| | 连接 |
constant | 常量 |
not null | |
%type | 类型 |
键盘输入 | |
%rowtype | |
subType | 子类型 |
declare
begin
null;
end;
declare
a int:=5;
begin
dbms_output.put_line(a);
end;
declare
a constant int:=5;
begin
dbms_output.put_line(a);
end;
declare
subtype atype is int;
b atype;
begin
b:=6;
dbms_output.put_line(b);
end;