Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: CMT8.4.1
-
Component/s: CUBRID Migration Toolkit
-
Labels:None
-
Environment:
CMT2.0.0.5258
Description
1 When migrated from mysql.
source target
decimal(13,2) character varying(13)
It will pop it will lost data.
2 When migrated from oracle.
source target
decimal(13,2) character varying(13)
It won't pop any warning.
Additional
The regular of from Numeric to vchar is as follows:
if s=0,the last length of target is p+1;
if p>s,the last length of target is p+1+1(包括小数点和符号)
if p=s,the last length of target is p+1+1+1(如decimal(3,3),可能会-0.999)。
There is the bug from int to varchar too.