I have dealt with the problem that I need to convert data from the Oracle
database to the SQL Server
database and there is no way except SQL Server Migration Assistant.
In SSMA
there is a TypeMapping
which allows you to define types you want to cast. I added Raw[16](Guid in Oracle) to UniqueIdentifier(Guid in oracle) as TypeMapping
.
But when SSMA started to convert data it returns this exception:
The given value of type Byte[] from the data source cannot be converted to type uniqueidentifier of the specified target column.