1. Home
  2. Computer Science MCQs
  3. MySQL
  4. i-am-a-dummy flag is used Make the MySQL engine refuse…

Added 19 Jan 2024

i-am-a-dummy flag is used Make the MySQL engine refuse UPDATE and which other command?

  1. WHERE
  2. INSERT
  3. DELETE Correct answer
  4. TRUNCATE

Correct answer

C. DELETE

17 views

MCQSEXAM

Explanation

The --i-am-a-dummy flag (an alias for --safe-updates) makes MySQL refuse UPDATE and DELETE statements that have no WHERE clause using a key or no LIMIT.

It protects beginners from accidentally changing or wiping every row in a table with a single careless statement.

Practise more Database Management Systems MCQs with answers and explanations on MCQsExam.com.

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More MySQL MCQs

Practise all MySQL MCQs

Similar MCQs