SHARE
TWEET

Untitled

a guest Apr 26th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SET SERVEROUTPUT ON
  2. DECLARE
  3.     A NUMBER:=8;
  4.     B NUMBER:=8;
  5.     C NUMBER;
  6. BEGIN
  7.     IF A IS NULL OR B IS NULL THEN
  8.         C :=9;
  9.     ELSIF A > B THEN
  10.         C :=9;
  11.     ELSIF B = A THEN
  12.         C :=10;
  13.     END IF;
  14.     DBMS_OUTPUT.PUT_LINE ( 'EL VALOR DE C ES ' || C);
  15.   END;
  16. /
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top