Created
September 1, 2015 11:02
-
-
Save umanda/1f0e0765222a2f7d0e9f to your computer and use it in GitHub Desktop.
How to get all table names of a particular database by SQL query?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT TABLE_NAME | |
FROM INFORMATION_SCHEMA.TABLES | |
WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA='dbName' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment