Upgrade issues may be due to a failure to upgrade an individual database, or a failure to complete configuration changes after all databases have been upgraded.
Use the output from the upgrade utility to correct the problem that caused the failure.
dbcc traceon(990)
Having set this trace flag, user "sa" can now use the offline database and make the necessary changes to correct the upgrade failure.
online database failed_db_nameThe server restarts that database’s upgrade from the point of failure.
$SYBASE/$SYBASE_ASE/upgrade/upgrade
When restarted in this way, the upgrade process says it is "verifying" the upgrade rather than "starting" it, but it makes all the same checks as for the original upgrade.
declare @dbname varchar(255) select @dbname = min(name) from master..sysdatabases while @dbname is not null begin online database @dbname select @dbname = min(name) from master..sysdatabases where name > @dbname end
isql -Usa -Ppassword -i $SYBASE/$SYBASE_ASE/scripts/installmaster
isql> dump tran dbname with truncate_only
isql> alter database dbname on device_name = "2m"
alter database allows you to specify the size to alter the database with the unit specifier "m", or "M".