SQL - Oracle migration: conversion fails for Binary datatype RRS feed

  • Question

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

    Wednesday, February 22, 2012 9:21 AM

All replies



    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.


    Alberto Morillo

    • Proposed as answer by amber zhang Friday, February 24, 2012 3:27 AM
    Wednesday, February 22, 2012 1:38 PM