Oracle SQL,PL/SQL Anonymous PL/SQL Block 3 years agoAdd Commentby shohal6 Views Written by shohal Anonymous PL/SQL Block Structure: [DECLARE] BEGIN –statements [EXCEPTION] END; Example: set serveroutput onVARIABLE X NUMBER;BEGIN:X:=11;DBMS_OUTPUT.PUT_LINE(:X);END;/ DECLAREX NUMBER:=1;BEGINDBMS_OUTPUT.PUT_LINE(X);END;/ FacebookXGoogle+PinterestLinkedIn