Skip to content

Database administration statements

View as Markdown

These statements manage users, sessions and server settings from SQL:

Page Statements
Users & privileges CREATE USER, ALTER USER, DROP USER, GRANT, REVOKE, ALTER … OWNER TO
SET SET SYSTEM PARAMETERS, Session variables, Other SET and GET statements
SHOW SHOW TABLES, SHOW COLUMNS, SHOW INDEX, SHOW CREATE TABLE, SHOW GRANTS, Diagnostics
KILL KILL a session or the query it is running

The System catalog gives the same schema information as SHOW through queries, and the coradb utilities cover administration tasks outside SQL, such as creating, backing up and checking databases.