Q: 7
Which three statements are true about Data Manipulation Language (DML)?
Options
Discussion
A B, E. No primary key needed for DML and Oracle doesn't autocommit inserts by default. Pretty sure that's correct here.
C/D? I get why most go for A, B, E since Oracle doesn't autocommit by default and primary key isn't required for DML. E seems solid with update subqueries, but C always makes me second guess because of different tool behaviors. Pretty sure it's A, B, E unless there's some weird context in play-let me know if you see it differently.
I don't think it's C. Multiple rows can be deleted and NULLs inserted (A, B), and updates with subqueries are fine too (E). The trap is DML auto-commit-Oracle doesn't do that by default, even if some tools do. Agree with A, B, E.
Why do some pick C? Unless the exam says autocommit, that’s a distractor here right?
Nah, C looks tempting since some tools autocommit, but that's not default Oracle behavior. I would pick A, B, E here.
Its A, B, E. Official docs and labs are the best way to confirm DML details like these.
Option A B, and E are right. C is a trap because Oracle doesn’t auto-commit DML by default (unless autocommit is enabled in your tool, but that’s not standard). D isn’t needed for DML. Pretty sure on this but open to corrections.
Why is C not correct here? Isn't autocommit possible in some tools?
Be respectful. No spam.