How can I get all the information about a table in Oracle?

后端 未结 3 1404
心在旅途
心在旅途 2021-01-23 20:17

How can I get all the information about a table, its columns and constraints etc in Oracle? I am using

desc MY_TABLE

but that\'s only giving

3条回答
  •  遥遥无期
    2021-01-23 20:56

    Check this script : http://oracletipstricks.blogspot.com/2008/01/getting-table-details-with-sqlplus.html

    Give details : - Column Details

    • PRIMARY KEY

    • INDEXES

    • FOREIGN KEYS

    • CONSTRAINTS

    • ROWCOUNT

    • Other Tables That REFER to this Table

    • PARTITIONED COLUMNS

    • PARTITIONS

    • TRIGGERS

    • DEPENDANTS

提交回复
热议问题