2008-8-5 11:54
gaowd
ASE15数据库断电问题
与以前版本的处理方法不同吗?数据库被置为suspect状态后,用下面的命令不起作用
用ISQL登录到SQL Server,须用SA帐号
1>sp_configure "allow updates", 1
2>go
2>reconfigure with override
2>go
1>update master..sysdatabases
2>set status =-32768
3>Where name="database_name" database_name是 你 的 数 据 库 名
4>go
1>shutdown with nowait
2>go
这时重新启动SQL Server,再有SA帐号注册到SQL Server。
1>update master..sysdatabases
2>set status=0
3>Where name="database_name" database_name 是 你 的 数 据 库 名
4>go
1>sp_configure "allow updates" ,0
2>go
1>reconfigure with override
2>go