Mysql Setup


  1. The collations this statement lists are ______________.
    SHOW COLLATION LIKE 'utf8%'











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The character set ‘utf8’ is used for the Unicode character set 8. The ‘LIKE’ keyword does the job of narrowing the search space to refer to only those names that begin with ‘utf8’.


  1. The statement used to find out which character sets are available is ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    It is simple to determine the character sets and collations that are available in MySQL. ‘SHOW CHARACTER SET’ shows the character sets while ‘SHOW COLLATION’ shows the collations.



  1. The clause that can be used to sort string values according to a specific collation is ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The ‘COLLATE’ operator can be used to sort the string values according to a specific collation. For example, ‘SELECT col FROM tbl ORDER BY col COLLATE latin1_swedish_ci’ sorts by swedish collation.


  1. The variable used to set table alias names as non case sensitive is ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    In MySQL, by default the alias names are case sensitive. An alias can hence be specified in any letter case, upper, lower or mixed. If the variable ‘lower_case_table_names’ is non zero, the alias names of tables are not case sensitive.



  1. The case sensitive among these is ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The stored functions and stored procedure names in MySQL are not case sensitive. Event names are also not case sensitive. Unlike the standard SQL, the trigger names in MySQL is case sensitive.