Home » MYSQL » MySQL Character Set » Question
  1. Which statement is used to show the server’s current character set and collation settings?
    1. DISP VARIABLES
    2. SHOW CONSTRAINTS
    3. SHOW CONSTANTS
    4. SHOW VARIABLES
    5. None of these
Correct Option: D

The statement ‘SHOW VARIABLES LIKE ‘character\_set\_%” displays a table consisting of two columns, ‘Variable_name’ and ‘Value’. Replacing characer\_set\_% with collation\_% shows the collation variables.



Your comments will be displayed only after manual approval.