Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
AlessandroCic
Contributor III
Contributor III

[Solved] Oracle to MySql: convert field LONG RAW

Hi

I have to transfer data from an Oracle DB to MySql.

In the Oracle table I have a field type LONG RAW

0693p00000AbtXfAAJ.pngI have to transfer the values ​​to a new MySql table.

0693p00000AbtYYAAZ.pngWhat type of field can I use?

I tried to use BLOB

0693p00000AbtZ7AAJ.pngBut I have the error

Data truncation: Data too long for column 'IMAGE'

Reagards

Alessandro

Labels (4)
1 Solution

Accepted Solutions
AlessandroCic
Contributor III
Contributor III
Author

Hello

I did some tests and I found that the guy who works is the LONGBLOB

Regards

Alessandro

0693p00000AcQprAAF.png

View solution in original post

3 Replies
Anonymous
Not applicable

Hello,

Talend type of the column should be id_bytes, db type of the column should be long raw

You can create connection on Metadata on Repository view and right-click the connection, then press "Retrieve Schema". The DB type will be correctly mapped.

Best regards

Sabrina

 

AlessandroCic
Contributor III
Contributor III
Author

Hello

I did some tests and I found that the guy who works is the LONGBLOB

Regards

Alessandro

0693p00000AcQprAAF.png

Anonymous
Not applicable

Hello,

Thanks for letting us know the solution. We have selected your post as Best.

Best regards

Sabrina