today:
477
yesterday:
719
Total:
1,770,261

PL/SQL Study Code

OUTER.DECLARE

admin 2024.02.03 18:05 Views : 46

DECLARE

 birthdate1 DATE := TO_DATE('29-SEP-70', 'DD-MON-YY');

BEGIN

 DECLARE

 birthdate DATE := TO_DATE('29-SEP-70', 'DD-MON-YY');

 BEGIN

 IF birthdate = birthdate1 THEN

 DBMS_OUTPUT.PUT_LINE ('Same Birthday');

 ELSE

 DBMS_OUTPUT.PUT_LINE ('Different Birthday');

 END IF;

 END;

END;

/

No. Subject Author Date Views
» OUTER.DECLARE admin 2024.02.03 46
4 %TYPE admin 2024.02.02 43
3 IF ... ELSE admin 2024.02.02 46
2 EXCEPTION BLOCK admin 2024.02.02 41
1 OUTPUT SHOWING admin 2024.02.02 43