When the sybase asa database is shut DOWN abnormally, it is prone to exceptions, such as table or index errors. The trouble is that the database will go DOWN when you delete a table using drop table t_name. Below are two common restoration methods:
Sybase asa database restoration method
When the sybase asa database is shut DOWN abnormally, it is prone to exceptions, such as table or index errors. The trouble is that the database will go DOWN when you delete a table using drop table t_name. Below are two common restoration methods:
I. Restore with backup database
1. Start with backup database
2. translation error. The database log may contain multiple files)
3. Execute the translated log files and read files in order.
2. No Database Backup
Symptom: set rowcount 10
Select * from table_name when data goes down
An error is reported when dbvalid is used to check this table.
Check
Solution:
1. Delete the publishing and view of table_name
2. dbunload-c "uid = dba; pwd = SQL; dbf = d: \ sybdata \ dbname. db"-e table_name-an d: \ db_new \ dbname. db"
3. Start with a new database
4. Create a table named table_name with no data)
Bkjia.com (