SQL - Oracle migration: conversion fails for Binary datatype

Réponse proposée SQL - Oracle migration: conversion fails for Binary datatype

  • mercredi 22 février 2012 09:21
     
     

    Binary data type of Source (SQL server) gets converted in RAW data type (Oracle) which changes the data value in the target and doesn’t get matched with source system.

    For example: In SQL server data is ' 0x00' after migration it's 0 in oracle. Similarly 0x40 get migrated as 40.

    Any idea?

Toutes les réponses

  • mercredi 22 février 2012 13:38
    Modérateur
     
     Réponse proposée
     

    Hello,

    The following SQL Server data types should be mapped to the “LONG RAW” data type in Oracle: image, binary and varbinary. So instead of RAW use LONG RAW.

    Hope this helps.


    Regards,

    Alberto Morillo
    SQLCoffee.com