Listing all tables in a database

前端 未结 4 856
清歌不尽
清歌不尽 2021-02-09 23:48

Is there a SQL command that will list all the tables in a database and which is provider independent (works on MSSQLServer, Oracle, MySQL)?

4条回答
  •  梦毁少年i
    2021-02-10 00:03

    If you are OK with using a non-SQL approach and you have an ODBC driver for the database and it implements the SQLTables entry-point, you possibly might get the information you want!

    pjjH

    details on the API at: http://msdn.microsoft.com/en-us/library/ms711831.aspx

提交回复
热议问题