Write the command to view the structure of the table

Write the command to view the structure of the table.

- The structure of a table can be viewed using the DESCRIBE TABLE_NAME command.

Syntax

DESCRIBE { table-Name | view-Name }

- Provides a description of the specified table or view. For a list of tables in the current schema, use the Show Tables command.
- For a list of views in the current schema, use the Show Views command.
- For a list of available schemas, use the Show Schemas command.
- If the table or view is in a particular schema, qualify it with the schema name.
- If the table or view name is case-sensitive, enclose it in single quotes.
- You can display all the columns from all the tables and views in a single schema in a single display by using the wildcard character '*'.
What are the limitation of alter command?
ALTER Command supports only the RENAME TABLE and ADD COLUMN variants...
Explain Alter Table Command
Alter Table command is a DDL command that is used to change the definition of the table....
What are the limitations of Alter Table command?
Column can’t be deleted with alter command. Column can’t be renamed a column.....
Post your comment