Showing posts with label oracle. Show all posts
Showing posts with label oracle. Show all posts

show table structure in oracle

To get all details of oracle table use the following query.


SELECT to_char(DBMS_METADATA.GET_DDL('TABLE','tablename')) FROM dual