Bonjour à tous,
J'ai des difficultés à migrer ma table oracle qui contient des champs BLOB vers ma table SQL Server. Avez-vous une solution ?
SSMA
SSMA ne supporte pas la migration de données des tables qui ont des colonnes LOB. Pour ces objets, utilisez les fonctions SQL Server OPENQUERY ou OPENROWSET ou des utilitaires comme BCP et BULKINSERT.
IMPORT/EXPORT
The Microsoft OLE DB Provider for Oracle does not support the Oracle BLOB, CLOB, NCLOB, BFILE, and UROWID data types, and the OLE DB source cannot extract data from tables that contain columns with these data types.
Je n'ai pas trouvé comment mettre en oeuvre une solution qui réponde à mon problème avec ces instructions
SELECT * FROM OPENQUERY(MonLinkedServer,'select * from MaTable')
-->OLE DB provider "MSDAORA" for linked server "MonLinkedServer" returned message "Oracle error occurred, but error message could not be retrieved from Oracle.".
OLE DB provider "MSDAORA" for linked server "MonLinkedServer" returned message "Data type is not supported.".
Msg 7321, Level 16, State 2, Line 1
An error occurred while preparing the query "select * from MaTable" for execution against OLE DB provider "MSDAORA" for linked server "MonLinkedServer".
ou
SELECT * FROM OPENROWSET('MSDAORA', 'MonServer';'MonUser';'MonPassword','MaTable')
-->Msg 7357, Level 16, State 2, Line 1
Cannot process the object "MaTable". The OLE DB provider "MSDAORA" for linked server "(null)" indicates that either the object has no columns or the current user does not have permissions on that object.
Please help me !
Partager