【问题标题】:Database oracle [duplicate]数据库oracle [重复]
【发布时间】:2015-03-19 12:01:31
【问题描述】:

我怎么知道用他们的名字创建的表的总数!!!在 SQL oracle 命令中? 这样我就可以删除不必要的表格......

【问题讨论】:

  • tables created with their names你能澄清一下这部分吗?
  • 好好问吧。 Show tables也许...
  • 您能否重新提出问题以便更好地理解?

标签: sql database oracle


【解决方案1】:

此问题/答案应为您提供所需的详细信息: Get list of all tables in Oracle?

但总而言之……

-- If you have access
SELECT owner, table_name
  FROM dba_tables

-- Will show what your user has access to
SELECT owner, table_name
  FROM all_tables

【讨论】:

    【解决方案2】:
    SHOW TABLES  IN `db`;
    

    其中 db 是您的数据库的名称。

    【讨论】:

      猜你喜欢
      • 2016-08-14
      • 2012-09-27
      • 2013-07-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-16
      • 2018-01-09
      • 2021-05-03
      相关资源
      最近更新 更多