Which statement is true about the outcome of the above code?

You create the following table and execute the following code:

Which statement is true about the outcome of the above code?

You create the following table and execute the following code:

Which statement is true about the outcome of the above code?

A.
It executes successfully and all the rows are updated.

B.
It gives an error but saves the inserted rows and the update to the first row.

C.
It gives an error but saves the inserted rows; however, no rows are updated.

D.
It gives an error and all the data manipulation language (DML) statements are rolled back

Explanation:



Leave a Reply 13

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


vishesh bansal

vishesh bansal

Answer B is correct. second update raises exception because value length exceeds the column length.

bookkeper||’ (Senior)’> varchar2(18)
19>18

Leonid

Leonid

“B” is correct.

select * from emp_temp
/
DEPTNO JOB
—— ——————
10 Cleark (Senior)
20 Bookkeeper
30 Analyst

samkelo siyabonga ngubo

samkelo siyabonga ngubo

B

Karan

Karan

A is the answer

DEPT_NO JOB
10 Clerk(Senior)
20 Bookkeeper(Senior)
30 Analyst(Senior)

Naj

Naj

Have you tried with a space before (Senior)??