94

A Programmer nurse 😂😁

Comments
  • 0
    Ha! Hilarious!
  • 1
    Declare
    Count_name number;
    Name_existed exception;
    Begin
    Select count(1) into count_name from babies where lower(name) like '%sara%';
    If count_name > 0 then
    Raise name_existed;
    End if;
    Exception
    When name_existed then
    dbms_output.put_line('baby name disabled');
    When no_data_found then
    dbms_output.put_line('baby name enabled');
    When others then
    Dbms_output.put_line('this name is not for a baby');
    End;
  • 0
    Good one
  • 0
    Sara_2017
  • 1
    @0x41414141 the name is already taken
  • 0
Add Comment