精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>编程开发>>● Powerbuilder>>数据库相关技术>>解决SYBASE数据库挂起

主题:解决SYBASE数据库挂起
发信人: wwwrong()
整理人: leitiger(2002-06-05 23:45:28), 站内信件
1以单用户模式启动
2以sa身份登录
3sp_configure "allow updates",1 
4checkpoint 
5update sysdatabases set status=-32768 where name=@dbname 
6checkpoint 
7shutdown with nowait 
8以单用户模式启动 
9以sa身份登录
10sp_configure "allow updates",0 
11shutdown with nowait 
12正常启动  

[关闭][返回]