Answers for "How will you get the list of all the tables, in a database? (DB/SQL)"

SQL
11

get the list of all tables in sql server

SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_CATALOG='YOUR_Database_name'
Posted by: Guest on May-19-2020
0

list all the tables in sql

select tablespace_name, table_name from all_tables; 
Posted by: Guest on August-30-2021

Code answers related to "How will you get the list of all the tables, in a database? (DB/SQL)"

Code answers related to "SQL"

Browse Popular Code Answers by Language