Get table names from a database

后端 未结 7 1557
夕颜
夕颜 2021-01-04 04:18

I\'ve searched through a bunch of websites and I have not come across any code or tutorial which has gone through the specifics of obtaining the table names from a single da

7条回答
  •  余生分开走
    2021-01-04 04:55

    I used this query:

    SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE'
    

    It gives me table name as well as sysDiagram(database diagram generated for that database)

提交回复
热议问题