Which line in the above code would result in errors upon execution?

Examine the following block of code:


Which line in the above code would result in errors upon execution?
A. line 5
B. line 8
C. line 2
D. line 7

Download Printable PDF. VALID exam to help you PASS.

One thought on “Which line in the above code would result in errors upon execution?

  1. DECLARE
    status VARCHAR2(10) NOT NULL DEFAULT ‘TRUE’;
    net_value NUMBER:=555;
    done BOOLEAN;
    valid_id BOOLEAN:=TRUE;
    BEGIN
    done:=(net_value>100);
    status:=valid_id;
    END;
    /

    ORA-06550: line 8, column 13:
    PLS-00382: expression is of wrong type

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.