-- Created on 2013-2-5 by ADMINISTRATOR
declare
-- Local variables here
i integer :=100;
-- i:=100;
begin
i :=200;--变量要么在声明多时候赋值要么在begin过程下赋值,如果把i:=200写在declared下面就会报错了
dbms_output.put_line(i);
end;
declare
-- Local variables here
i integer :=100;
-- i:=100;
begin
i :=200;--变量要么在声明多时候赋值要么在begin过程下赋值,如果把i:=200写在declared下面就会报错了
dbms_output.put_line(i);
end;