Mysql Basic
- What is AI in terms of database collation?
-
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.
- Which property determines whether a database object is case sensitive?
-
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.
- Which of the following is case sensitive in MySQL?
-
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.
- 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.
-
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.
- Which case does InnoDB store database names in?
-
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.