Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Re: upgrade Checked is giving so many warnings and errors

$
0
0

After taking a backup of the vCenter database you'll need to edit the colums to update the data type.

 

 

Error: VCDB <table>.<column> data type >> <data type>; customer >> <data type>
A column in your database has a data type that differs from the same column in the original vCenter Server database. This problem prevents the upgrade process: the mismatch in data type would prevent the vCenter Server from working. For both Oracle and Microsoft SQL Server, changing a column's data type requires that you specify all column attributes, such as default values, null settings, etc. For IBM DB2, you need to specify only the data type:
ALTER TABLE <table> ALTER COLUMN <column> SET DATA TYPE <data type>;

Error: VCDB VPX_USAGE_STAT.STAT_VAL data type >> bigint; Customer >> numeric

 

 

ALTER TABLE dbo.VPX_USAGE_STAT ALTER COLUMN STAT_VAL SET DATA TYPE bigint;

 

I've inserted "dbo." into the statement - you should verify that dbo is the owner of the objects and if not alter the statement accordingly.  If you look at the STAT_VAL column right now it should have a datatype of numeric.


Viewing all articles
Browse latest Browse all 232869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>