none
SQL - Oracle migration: conversion fails for Binary datatype

    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

  •  

    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

    Wednesday, February 22, 2012 1:38 PM