Sybase 数据库不能删除/打开/online请高手帮忙!

河北三哥 2006-07-26 09:23:07
系统 :2000 server
数据库:Sybase 12.5
在删除数据库时提示:Uninitialized logical page '152680' was read while accessing object'1'in database '5'.Please contact Sybase Technical Support.
为什么会这样,请指点。
而且数据库上面有一个黄色的向下的小箭头,这表明什么?
在online的时候提示:Database ‘tsbdwzygl’cannot be opened because either an earlier system termination left LOAD DATABASE incomplete or the database is created with 'for load' option.Load the database or contact a user with System Administator (SA) role.
...全文
268 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
yxlpf 2006-09-26
  • 打赏
  • 举报
回复
sa登录连到master
delete from sysdatabases where name='xxxxx'
go
delete from sysusages where dbid not in (select dbid from sysdatabases)
go
DBCC CHECKALLOC
go
删除devices
delete from sysdevices where name='xxx'
go
DBCC CHECKALLOC
go

xxxx 皆为数据库名称
xxx 皆为设备名称,不是文件名
iorilchen 2006-07-28
  • 打赏
  • 举报
回复
估计logical page有问题,把库删除重建吧,用
dbcc dbrepair ( database_name , dropdb )
删除该库。

2,596

社区成员

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

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