no importance

download no importance

of 1

description

no importance

Transcript of no importance

  • CREATE OR REPLACE FUNCTION totalempRETURN number IS total number(3) := 0;BEGIN SELECT count(*) into total FROM customer; RETURN total;END;/

    =====================================

    DECLARE c number(2);BEGIN c := totalemp(); dbms_output.put_line('Total no. of Customers: ' || c);END;/