DESCRIBE
Name
DESCRIBE
Description
This statement is used to display the schema of the specified table
Syntax:
DESC[RIBE] [db_name.]table_name [ALL];
Note:
- If ALL is stated, the schemas of all indexes (rollups) of the table will be displayed
Example
-
Display the base table schema
DESC table_name;
-
Display the schema of all indexes of the table
DESC db1.table_name ALL;
Keywords
DESCRIBE