开发者

Get Database's Tables

I want to write a query to get the names of tables of a specific databa开发者_JAVA技巧se, but I don't know how can write it.

I want to execute this query for MS Access 2007 and Oracle 11g.

Thanks


If you want raw, direct queries:

For Oracle:

SELECT * FROM user_tables

For MS Access:

SELECT * FROM  MSysObjects  WHERE [Type] In (1, 4, 6)

(sorting and advanced filtering omitted for brevity.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜