Tag: databases

Questions Related to databases

Business Logic comments is required for any SQL

  1. True

  2. False


Correct Option: B

MYISAM is the default mysql search engine?

  1. True

  2. False


Correct Option: A

The syntax means that "mysqladmin -u root password NEWPASSWORD"

  1. To update or change the root password

  2. To setup root password for first time

  3. A and B

  4. None of the above


Correct Option: B

Which one is mysql configuraion file?

  1. /etc/my.conf

  2. /etc/my.cnf

  3. /etc/mysq.conf

  4. /etc/mysql.cnf


Correct Option: B

When SET ANSI_NULLS is OFF then which one is true?

  1. A SELECT statement that uses WHERE column_name = NULL returns no results

  2. A SELECT statement that uses WHERE column_name = NULL returns the rows that have null values in column_name.

  3. A SELECT statement that uses WHERE column_name = NULL will throw error.

  4. A SELECT statement that uses WHERE column_name = NULL returns all the rows.


Correct Option: B

When SET QUOTED_IDENTIFIER is ON which will be true?

  1. Identifiers can be delimited by double quotation marks, and literals can not be delimited by single quotation marks

  2. Identifiers can be delimited by double quotation marks, and literals must be delimited by single quotation marks

  3. Identifiers can not be delimited by double quotation marks, and literals must be delimited by single quotation marks

  4. Identifiers can not be delimited by double quotation marks, and literals can not be delimited by single quotation marks


Correct Option: B

Which one is true?

  1. Setting ANSI_WARNINGS to ON implicitly sets ARITHABORT to OFF

  2. setting ANSI_WARNINGS to ON will not affect ARITHABORT settings

  3. Both are same

  4. Setting ANSI_WARNINGS to ON implicitly sets ARITHABORT to ON


Correct Option: D