Hello
I use Adodb and Axmls to export my MySQL database to Oracle. Type transformation occurs in converting to Metatype :
origine : MySQL type : decimal(10,2)
->MySQL type converted to MetaType : type= 'N ' size='10' I loose ',2'
->MetaType converted to Oracle type : DECIMAL(10)
so I have a transformation from decimal(10,2) to decimal(10)
Is someone able to explain me how to stop this ?
Thanks
Geoffroy
This is solved for my project... If you have this problem : see in adodb.inc.php :
ADOFieldObject->max_length ADOFieldObject->scale
ADOFieldObject->scale is not used so no decimal values !!!
----------- Geoffroy
Log in to post a comment.
Hello
I use Adodb and Axmls to export my MySQL database to Oracle.
Type transformation occurs in converting to Metatype :
origine : MySQL type : decimal(10,2)
->MySQL type converted to MetaType : type= 'N ' size='10'
I loose ',2'
->MetaType converted to Oracle type : DECIMAL(10)
so I have a transformation from decimal(10,2) to decimal(10)
Is someone able to explain me how to stop this ?
Thanks
Geoffroy
This is solved for my project... If you have this problem : see in adodb.inc.php :
ADOFieldObject->max_length
ADOFieldObject->scale
ADOFieldObject->scale is not used so no decimal values !!!
This is solved for my project... If you have this problem : see in adodb.inc.php :
ADOFieldObject->max_length
ADOFieldObject->scale
ADOFieldObject->scale is not used so no decimal values !!!
-----------
Geoffroy