Vous êtes sur la page 1sur 1

PL/SQL PROGRAM USING PRE-DEFINED FUNCTION

SQL>get D:/sarath/pre.txt;
1
2
3
4
5
6
7
8
9
10

declare
s stud%rowtype;
begin
select * into s from stud where regno = 222;
exception
when no_data_found then
dbms_output.put_line(no data found);
when too_many_rows then
dbms_output.put_line(too many rows);
*end;

SQL>/
no data found

PL/SQL procedure successfully completed.

Vous aimerez peut-être aussi