Answered Questions

  • What are the components of a PL/SQL block ?

     A set of related declarations and procedural statements is called block.

    Star Read Best Answer

    Editorial / Best Answer

    Answered by: Chandra Shekhar

    • Oct 3rd, 2005


    PL/SQL Block contains :

    Declare : optional

    Variable declaration

    Begin  : Manadatory

    Procedural statements.

    Exception : Optional

    any errors to be trapped

    End :  Mandatory

    So only begin and end keywords are required, as needed, to process a pl/sql block.

    vamsi

    • Jun 8th, 2017

    Cursors
    collections
    procedures
    functions
    triggers

    Kevin Korir

    • Dec 10th, 2016

    Declare: optional
    Begin:mandatory-program logic of SQL&plsql statements
    Exception: optional (error handling)
    End:mandatory
    (Forward slash / terminates)