SELECT count(*)
FROM sysibm.sysroutines
WHERE name like 'SDE_V_NOT_DEFAULT'
c:\ sdesetup -o upgrade -d <ORACLE9I|ORACLE10G|ORACLE11G|SQLSERVER|DB2|DB2ZOS|INFORMIX|POSTGRESQL> -D <database_name> -s <datasource> –u <DB_Admin_User> –p <DB_Admin_password>