today:
1,107
yesterday:
1,303
Total:
1,790,540

PL/SQL Study Code

OUTER.DECLARE

admin 2024.02.03 18:05 Views : 69

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 69
4 %TYPE admin 2024.02.02 66
3 IF ... ELSE admin 2024.02.02 68
2 EXCEPTION BLOCK admin 2024.02.02 64
1 OUTPUT SHOWING admin 2024.02.02 66