SQL Plus - Describe

Card Puncher Data Processing

About

Describe lists the column definitions for a table, view, or synonym, or the specifications for a function or procedure.

Syntax

DESC[RIBE] {[schema.]object[@connect_identifier]}

where:

Formatting

You cannot define a formatting by column. Describe takes only the parameter linesize into account.

Example“

>desc my_emp
Name                                                  Null?    Type
 ----------------------------------------------------- -------- ------------------------------------
 EMPNO                                                          NUMBER
 LAST_NAME                                                      VARCHAR2(30)
 START_TIME                                                     TIMESTAMP(6)
 END_TIME                                                       TIMESTAMP(6)

>set linesize 50
>desc my_emp
Name                    Null?    Type
 ----------------------- -------- ----------------
 EMPNO                            NUMBER
 LAST_NAME                        VARCHAR2(30)
 START_TIME                       TIMESTAMP(6)
 END_TIME                         TIMESTAMP(6)





Discover More
Card Puncher Data Processing
Oracle - DataType

Each value manipulated by Oracle Database has a datatype. Large Object: Data Type Description VARCHAR2(size [BYTE | CHAR]) Variable-length character string having maximum length size...
Card Puncher Data Processing
Oracle Database 12c - Temporal Validity

Temporal validity permits to retrieve the data as it was in a point in time by defining a validity period for which a given record is considered valid. This time-based validity is determined by the start...
Card Puncher Data Processing
SQL Plus - Command Reference

Commands Description @ @@ / ACCEPT APPEND ARCHIVE ATTRIBUTE BREAK BTITLE CHANGE CLEAR COLUMN COMPUTE CONNECT COPY Copies data from a query to a table in the same or another...



Share this page:
Follow us:
Task Runner