oracle:关于"异常"的问题
大侠看好了:
SQL> declare
2 aa char(20);
3 begin
4 select a into aa from test1;
5 exception
6 when no_data_found then
7 dbms_output.put_line('no data');
8 when others then
9 NULL;
10 dbms_output.put_line('end');
11 end;
12 /
no data
PL/SQL 过程已成功完成。
SQL>
为什么第10行没有起作用? exception什么时候end?估计我的语法有误,总之我想在exception后继续执行别的语句,怎么办?革命不是请客吃饭,大家快来帮忙.