1.

Which option executes all SQL statements in a SQL script irrespective of the number of errors?(a) –ensure(b) –force(c) –violent(d) –runThe question was asked in semester exam.This key question is from Using Multiple-Statement Execution topic in section MySQL Programs Using C of MySQL

Answer»

The correct option is (b) –force

To ELABORATE: 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.



Discussion

No Comment Found

Related InterviewSolutions