exam questions

Exam 1z0-882 All Questions

View all questions & answers for the 1z0-882 exam

Exam 1z0-882 topic 1 question 99 discussion

Actual exam question from Oracle's 1z0-882
Question #: 99
Topic #: 1
[All 1z0-882 Questions]

A MySQL command- line client is started with safe updates disabled.

Mysql - -safe updates=0 -
What happens when you execute an UPDATE statement without a WHERE clause?

  • A. Results in an error
  • B. Updates every row in the specified table(s)
  • C. Results in - -safe-updates being enabled automatically
  • D. Causes a syntax error
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
http://justalittlebrain.wordpress.com/2010/09/15/you-are-using-safe-update-mode-and-you-tried-to-update-a-table-without-a-where-that-uses-a-key- column/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
mschnittker
4 years, 9 months ago
The correct answer is B.
upvoted 1 times
...
Akarim
5 years, 3 months ago
The result will be C. If safe update is enabled then will generate error
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...