A. V_sample Boolean := 'TRUE';
B. V_sample Boolean := 'true';
C. V_sample Boolean := TRUE;
D. V_sample Boolean;
Both C and D options are correct; whereas, the A and B options are both wrong, as any variable assigned a value within single quotes is a character string declaration. Boolean variable can only take TRUE, FALSE, or NULL values.
B. V_sample Boolean := 'true';
C. V_sample Boolean := TRUE;
D. V_sample Boolean;
Both C and D options are correct; whereas, the A and B options are both wrong, as any variable assigned a value within single quotes is a character string declaration. Boolean variable can only take TRUE, FALSE, or NULL values.