Pages

Ads 468x60px

Sunday, 3 June 2012

PL SQL Program For function using exception.


PL SQL Program For function using exception.


create or replace function stinfo(no in number) return varchar2 is snam varchar2(30);
begin
select name into snam from student where stuid=no;
return snam;
exception 
when no_data_found then
return(' Record does not exist ');
end;

0 comments:

Post a Comment

Total Pageviews