📜  如何在sql查询中获取所有表名 - SQL代码示例

📅  最后修改于: 2022-03-11 15:05:27.554000             🧑  作者: Mango

代码示例1
BY LOVE SINGH

SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_CATALOG='YOUR_Database_name'