ORA-00972 标识符太长:创建表空间时
这是一个练习作业,我必须创建一个包含两个数据文件的表空间。我们必须使用提供给我们的确切命名约定。我相信我是对的,但我收到此错误:“ORA-00972:标识符太长”。我想我得到这个是因为路径和文件名太长了。问题是,我该如何解决这个问题?
谢谢!
CREATE TABLESPACE CTTT444_tbs
DATAFILE "C:\oracle\product\10.2.0\oradata\cttt444_1.dbf" SIZE 15M,
DATAFILE "C:\oracle\product\10.2.0\oradata\cttt444_2.dbf" SIZE 15M,
AUTOEXTEND ON
NEXT 5m
MAXSIZE 100m);
This is a practice assignment where I have to create a table space with two datafiles. We have to use the exact naming conventions that are given to us. I believe I have it right, but I get this error: "ORA-00972: identifier is too long". I think I'm getting this because the path and filename are so long. The question is, how do I get around this?
Thanks!
CREATE TABLESPACE CTTT444_tbs
DATAFILE "C:\oracle\product\10.2.0\oradata\cttt444_1.dbf" SIZE 15M,
DATAFILE "C:\oracle\product\10.2.0\oradata\cttt444_2.dbf" SIZE 15M,
AUTOEXTEND ON
NEXT 5m
MAXSIZE 100m);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
文件规范应该是单引号。尝试:
命令中似乎也存在一些语法错误(例如右括号)。
File specification should be single quotes. Try:
It also looks like you have some syntax errors in the command (such as the right parenthesis).
仅供有相同问题的人参考。这似乎对我有用。
或者
FYI for those with the same issue. This seemed to work for me.
OR