Hi,
I afraid your databases are corrupt.
If this is the case you need to restore them.I hope master database is not corrupted.
1-drop suspect databases
2-Re_create and load them
To destroy databases ,you should first do activities below to remove suspect status.
root@> isql -Usa
1> sp_helpdb
2> go
name db_size owner dbid
created
status
------------------------ ------------- ------------------------ ------
--------------
-----------------------------------------------------------------------
-------------------------------
adb 225.0 MB adb 5
Sep 25, 2000
not recovered, offline
master 93.0 MB sa 1
Jan 01, 1900
no options set
model 2.0 MB sa 3
Jan 01, 1900
no options set
sybsystemprocs 95.0 MB sa 4
Sep 23, 2000
trunc log on chkpt
tempdb 302.0 MB sa 2
Dec 14, 2000
select into/bulkcopy/pllsort, trunc log on chkpt
(1 row affected)
(return status = 0)
1>select * from sysusages where dbid = 5
2>go
1> sp_dboption adb,"single user",true
2> go
Database option 'single user' turned ON for database 'adb'.
Run the CHECKPOINT command in the database that was changed.
(return status = 0)
1> select name from master..sysdatabases where status & 256=256
2> go
name
------------------------------
adb
(1 rows affected)
1> sp_configure "allow update", 1
2> go
Parameter Name Default Memory Used Config Value
Run Value
------------------------------ ----------- ----------- ------------
-----------
allow updates to system tables 0 0 1
1
(1 row affected)
Configuration option changed. The SQL Server need not be rebooted since the
option is dynamic.
(return status = 0)
1> reconfigure with override
2> go
1> begin tran
2> update sysdatabases set status=status-256 where name="adb"
3> commit tran
4> go
(1 row affected)
1> sp_configure "allow update",0
2> go
Parameter Name Default Memory Used Config Value
Run Value
------------------------------ ----------- ----------- ------------
-----------
allow updates to system tables 0 0 0
0
(1 row affected)
Configuration option changed. The SQL Server need not be rebooted since the
option is dynamic.
(return status = 0)
1> reconfigure with override
2> go
1>dbbc dbrepair(adb,dropdb)
2>go