SQL - Oracle migration: conversion fails for Binary datatype

建议的答复 SQL - Oracle migration: conversion fails for Binary datatype

  • 22 Februari 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?

Semua Balasan

  • 22 Februari 2012 13:38
    Moderator
     
     Saran Jawaban
     

    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