Answers for "sql query to show all tables"

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
1

how to get all tables in sql

SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE'
Posted by: Guest on June-05-2020
5

how to get all table names in sql query

BY LOVE SINGH

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
2

sql show tables

Showing all table: 
show tables;

Showing table data:
SELECT
* or column_names
FROM
table_name;
Posted by: Guest on April-26-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 "SQL"

Browse Popular Code Answers by Language