I know it is possible to use:
SELECT DISTINCT(table_name)
FROM all_tab_cols
Would there be a better way in Oracle to show table, i.e. MySQL's show table
; command.
If you require full structure you may use
SELECT dbms_metadata.get_ddl( 'TABLE', 'MY_TABLE_NAME' ) FROM DUAL;
see more syntax from Reference
Try describe table <table-name>
in SQL*Plus. It does all the fetching and nice formatting. Works with tables, but also procedures, triggers, constraints, etc (just use different keywords).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With