为什么informix不让我做删库操作

beyond_ml 2002-06-20 09:33:33
我建立了一个数据库,其中大概有160多个数据表,但我做删除库操作的时候(使用dbaccess),却出现了下面的问题,如果我先手动删除其中的几个表,操作就可以执行了。请问这是为什么?

错误提示信息:
DATABASE: Select Create Drop Exit
Drop a database.

----------------------- hhs2002 ---------------- Press CTRL-W for Help --------


//error1
215: Cannot open file for table ().
//error2
331: Cannot drop database directory.
//error3
Database Dropped


//informix:
-215

__________________________________________________________


Cannot open file for table table-name.

The database server cannot open the operating-system file or files in which the table is stored.
Check the accompanying ISAM error code for more information. Problems with operating-system file
permissions, insufficient memory, or hardware might cause this error.

-331

__________________________________________________________
Cannot drop database directory.

While the database server was executing the DROP DATABASE statement, it removed all
database-related files from the dbname.dbs directory and tried to remove the directory
itself, but an error occurred. Check the accompanying ISAM error code for more detailed
information on the cause. The most likely cause is that you or another user created
nondatabase files in the same directory, and the directory cannot be removed because
it is not yet empty.
...全文
73 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
愉快的登山者 2002-06-20
  • 打赏
  • 举报
回复
是否存在关联约束。
beyond_ml 2002-06-20
  • 打赏
  • 举报
回复
难道没有人知道么?

34,590

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
  • 基础类社区
  • 二月十六
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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