Oracle dba_data_files 表不存在

标签 oracle ora-00942 data-files

我一直在尝试访问dba_data_files table查看我的数据文件的自动扩展是否已打开。然而,即使我使用的是Oracle 10g,这个表似乎不存在:

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

SQL> select * from dba_data_files;
select * from dba_data_files
              *
ERROR at line 1:
ORA-00942: table or view does not exist

是否有其他方法可以检查甚至更改特定表空间的数据文件是否打开了自动扩展选项?

最佳答案

您应该确保您连接的帐户有权查看此 View ​​ - 如果您有该密码,请尝试使用 SYSTEM 帐户,否则请让您的 DBA 将 SELECT_CATALOG_ROLE 授予您正在使用的帐户。

关于Oracle dba_data_files 表不存在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1423170/

相关文章:

c - sqlcxt() 中的段错误

java - 找不到 Oracle jdbc 驱动程序

oracle - Fluent Nhibernate Oracle 标识符太长 - 别名问题

bookmarks - .CHM 帮助文件及其收藏夹

sql - 在一个特定列上连接多个表

oracle - 在 PL/SQL 脚本上使用 DB 链接会引发 "Table not found"错误

python - Pandas .DAT 文件导入错误并跳过行

python - np.loadtxt() 如何从txt文件中每隔一行加载? Python

c# - 调用中止后 MSDTC 和 Oracle 事务锁?