In Adaptive Server version 12.0 and later, the dbids of the following databases start at 31513:
dbccalt
dbccdb
sybsecurity
sybsystemdb
sybsystemprocs
If you drop and re-create these databases after an upgrade, Adaptive Server applies these new dbids. The dbids for all other databases are determined in the same way as in earlier versions.