DESCRIBE

Name

DESCRIBE

Description

This statement is used to display the schema information of the specified table

grammar:

1. DESC[RIBE] [db_name.]table_name [ALL];

illustrate:

  1. If ALL is specified, the schemas of all indexes (rollup) of the table will be displayed

Example

  1. Display the Base table schema

1. DESC table_name; 2. Display the schema of all indexes of the table

1. DESC db1.table_name ALL;

Keywords

1. DESCRIBE

Best Practice