Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

show all tables in oracle

SELECT * FROM ALL_TABLES;
Comment

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
Comment

oracle all tables

-- NOTE: for Oracle ONLY

select * 
from all_tables;
Comment

PREVIOUS NEXT
Code Example
Sql :: insert value in identity 
Sql :: check if table exists oracle 
Sql :: postgresql how to show table names 
Sql :: table or view does not exist 
Sql :: mysql check if not null 
Sql :: sqlite show table definition 
Sql :: sql truncate statement 
Sql :: add computed column to table sql server 
Sql :: add column with foreign key constraint sql server 
Sql :: how to sort names in alphabetical order in sql 
Sql :: convert date to dd/mm/yyyy sql 
Sql :: allow external access to mysql 
Sql :: mysql set value as null 
Sql :: spring datasource properties mysql 
Sql :: (PDOException(code: 2002): SQLSTATE[HY000] [2002] Permission denied at 
Sql :: CONCAT_WS() concat function in mysql 
Sql :: sql server concat string and int 
Sql :: convert sql to relational algebra 
Sql :: generate sequence number in sql server 
Sql :: how to find lowest in sql 
Sql :: postgresql export database 
Sql :: select nextval from sequence oracle 
Sql :: get all columns from table sql 
Sql :: mysql multiple count 
Sql :: mysql get last insert id 
Sql :: postgresql size of database 
Sql :: call function sql oracle 
Sql :: Msg 241, Level 16, State 1, Line 12 Conversion failed when converting date and/or time from character string. 
Sql :: update with join 
Sql :: install mysql on ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =