Answers for "sql query to list all tables in a database with data"

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

Code answers related to "sql query to list all tables in a database with data"

Code answers related to "SQL"

Browse Popular Code Answers by Language