Microsoft SQL Server
SQL Server Tutorial, Query's and Interview Questions
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'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment