Help for this page

Select Code to Download


  1. or download this
    my $sql = <<EOF;
        select count(*) ROWCOUNT from EMPLOYEE where employee_id = 1
    ...
    print "NO RECORDS FOUND" unless $auth_row->{'ROWCOUNT'} > 0;
     ...fire the second SQL if ROWCOUNT > 0