更改表的表空间时出现错误,help!

dy_2000_abc 2002-04-19 05:35:26
表tablename原来位于system表空间,
我执行以下语句:
ALTER TABLE username.tablename MOVE TABLESPACE USERS

结果出现错误:
ora01950:表空间USERS中无权限。
谁帮帮忙,谢谢。
...全文
57 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
hrb_qiuyb 2002-04-19
  • 打赏
  • 举报
回复
alter user username quota unlimited on USERS;
加上引用权限就可以了。
mycode 2002-04-19
  • 打赏
  • 举报
回复
ORA-01950 no privileges on tablespace 'string'
Cause: User does not have privileges to allocate an extent in the specified tablespace.
Action: Grant the user the appropriate system privileges or grant the user space resource on the tablespace.

指你没有权限在表空间User进行资源分配.解决办法就是授权。

不过,我没有见这样的用法.
dy_2000_abc 2002-04-19
  • 打赏
  • 举报
回复
多谢了。给分。
thingsfly 2002-04-19
  • 打赏
  • 举报
回复
alter user scott quota unlimited on users
xzou 2002-04-19
  • 打赏
  • 举报
回复
是说你的用户没有访问表空间USERS的权利,加上权限久行了

2,598

社区成员

发帖
与我相关
我的任务
社区描述
Sybase相关技术讨论区
社区管理员
  • Sybase社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧