SQL - Oracle migration: conversion fails for Binary datatype

Proposed SQL - Oracle migration: conversion fails for Binary datatype

  • miércoles, 22 de febrero de 2012 9: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?

Todas las respuestas

  • miércoles, 22 de febrero de 2012 13:38
    Moderador
     
     Respuesta propuesta
     

    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