Oracle Database MySQL 5.6 Developer — Question 31

You have a database dev that contains 15 tables, all of which use the CHARACTER SET utfs and the COLLATION utfs_general_ci.
You perform the command:
ALTER DATABASE dev CHARACTER SET =latin COLLATION=latin1_swedish_ci
What is the result?

Answer options

Correct answer: E

Explanation

The correct answer is E because the ALTER DATABASE command will set the default CHARACTER SET and COLLATION for new tables created in the database, without affecting existing tables. The other options are incorrect as they misinterpret the behavior of the ALTER DATABASE command regarding existing tables and the conditions under which it can be executed.