What is the outcome on execution?

The STRING_TAB table has the following structure:

View the Exhibit and examine the code.

What is the outcome on execution?

The STRING_TAB table has the following structure:

View the Exhibit and examine the code.

What is the outcome on execution?

A.
It displays
Out put buffer not long enough.
This is my test string.-.

B.
It displays only
Output buffer not long enough, and exits the anonymous block.

C.
It displays only
This is my test string. – Because EXCEPTION should have been defined in the anonymous block
to get the error message.

D.
It does not display any of the MEMS_PUTPUT messages and gives an error because a
transaction control statement cannot be used in the exception section of a procedure.

Explanation:



Leave a Reply 6

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


samkelo siyabonga ngubo

samkelo siyabonga ngubo

A

Piero

Piero

A
P.S. anyone could confirm please that new_string, that’s declared but no defined,
inherit definition from declaration of output_stream in the moment …..

double(in_string, out:string)

Snigdhadeb

Snigdhadeb

The new_string inherits the length of the out_string.
Please change the length of the out_string to 100. The result is displayed as expected.
Hence the answer is A.