sasfvs icon

Untitled

sasfvs | PRO | 07/05/17 06:46:28 AM UTC | 0 ⭐ | 7355 👁️ | Never ⏰ | []
PL/SQL |

530 B

|

None

|

0 👍

/

0 👎

SET SERVEROUTPUT  ON; -- With this the server communicates with you!
DECLARE
    test VARCHAR2(15); -- delcaration without any data of cvariable test
    test_a VARCHAR2(15) := 'nliplace.com'; --here we declare and initialize the variable test_a
BEGIN
    test_a := 'testvalue';  -- Here we initialize in execution block
    DBMS_OUTPUT.PUT_LINE(test); -- Here we request to the server to print the value of the variable
EXCEPTION
    -- Here you make exceptions
END; -- Here you end everything for this block
 
 
-- the output will be "testvalue"

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎