Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

show all tables in oracle

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 TABLE_NAME = 'TABLE_NAME';
SELECT * FROM DBA_TABLES;		-- All database Tables
 
PREVIOUS NEXT
Tagged: #show #tables #oracle
ADD COMMENT
Topic
Name
4+4 =