Mysql Basic


  1. What is AI in terms of database collation?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The collation in database can also be specified in the join or comparison conditions. The value ‘AI’ means ‘Accent Insensitive’. ‘CS’ is case sensitive and ‘CI’ is case insensitive.


  1. Which property determines whether a database object is case sensitive?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The way to determine whether a database object or a database is case sensitive or not is to check the ‘COLLATION’ property. The result would be either CI for insensitive or CS for sensitive.



  1. Which of the following is case sensitive in MySQL?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Column names and indexes are not case sensitive on any platform and neither are column aliases. Unlike the standard SQL, the names of the log file groups are always case sensitive.


  1. Regardless of whether a database or table name is case sensitive on the system, it must be referred to using the same lettercase throughout a given query.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    A database or table name must be referred to using the same lettercase throughout a given query. This is regardless of the fact whether it is case sensitive on the system or not.



  1. Which case does InnoDB store database names in?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    In InnoDB, all the database names as well as all the table names are stored in lowercase internally. There is no random case assignment to the database elements when the engine is set as InnoDB.