Google News
logo
MySQL - Quiz(MCQ)
Which option executes all SQL statements in a SQL script irrespective of the number of errors?
A)
–run
B)
–force
C)
–ensure
D)
–violent

Correct Answer :   –force


Explanation : If SQL queries in a file are run using mysql in batch mode, mysql either quits after the first error. If the –force option is specified all the queries are executed indiscriminately.

Advertisement