Answers for "oracle list tables"

SQL
5

show all tables in oracle

SELECT * FROM ALL_TABLES;
Posted by: Guest on November-20-2020
4

oracle list tables

SELECT * FROM USER_TABLES;		-- Tables from connected schema
SELECT * FROM ALL_TABLES;		-- Tables available to connected schema
	SELECT * FROM ALL_TABLES WHERE OWNER = 'SCHEMA_NAME';
	SELECT * FROM ALL_TABLES WHERE TABLES_NAME = 'TABLE_NAME';
SELECT * FROM DBA_TABLES;		-- All Tables
Posted by: Guest on January-31-2021
2

oracle tablespace tables list

SELECT e.OWNER, e.SEGMENT_NAME, e.TABLESPACE_NAME, sum(e.bytes) / 1048576 AS Megs
FROM dba_extents e
WHERE
  e.OWNER = 'MY_USER' AND
  e.TABLESPACE_NAME = 'MY_TABLESPACE'
GROUP BY e.OWNER, e.SEGMENT_NAME, e.TABLESPACE_NAME
ORDER BY e.TABLESPACE_NAME, e.SEGMENT_NAME;
Posted by: Guest on May-11-2021
0

oracle all tables

-- NOTE: for Oracle ONLY

select * 
from all_tables;
Posted by: Guest on July-16-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language