Home »
MCQs »
MariaDB MCQs
Which is the correct MariaDB query for removing a default role from the current user?
49. Which is the correct MariaDB query for removing a default role from the current user?
- SET DEFAULT ROLE NONE;
- SET DEFAULT ROLE NULL;
- SET DEFAULT ROLE EMPTY;
- SET DEFAULT ROLE REMOVE;
Answer: A) SET DEFAULT ROLE NONE;
Explanation:
The correct MariaDB query for removing a default role from the current user is:
Syntax:
SET DEFAULT ROLE NONE;