DESCRIBE EVENT TABLE¶

Describes the columns in an event table.

DESCRIBE can be abbreviated to DESC.

See also:

ALTER TABLE (Event Tables) , CREATE EVENT TABLE , SHOW EVENT TABLES

Syntax¶

DESC[RIBE] EVENT TABLE <name>
Copy

Parameters¶

name

Specifies the identifier for the event table to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.

Usage Notes¶

  • To post-process the output of this command, you can use the RESULT_SCAN function, which treats the output as a table that can be queried.

Examples¶

Describe the columns in the event table named my_logged_events:

DESC EVENT TABLE my_logged_events;
Copy