Menu

Problem in type convertion

Geoffroy
2005-04-06
2013-04-01
  • Geoffroy

    Geoffroy - 2005-04-06

    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

     
    • Geoffroy

      Geoffroy - 2005-05-24

      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

      Geoffroy - 2005-05-24

      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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.