Answers for "get all tables in sql server which have 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 "get all tables in sql server which have data"

Code answers related to "SQL"

Browse Popular Code Answers by Language