Microsoft SQL Server
SQL Server Tutorial, Query's and Interview Questions
Showing posts with label
List all table names of a particular database by SQL query?
.
Show all posts
Showing posts with label
List all table names of a particular database by SQL query?
.
Show all posts
Friday, 3 April 2015
List all table names of a particular database by SQL query?
SELECT
TABLE_NAME
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
TABLE_TYPE
=
'BASE TABLE'
AND
TABLE_CATALOG
=
'dbName'
Older Posts
Home
Subscribe to:
Posts (Atom)