Skip to Content
author's profile photo Former Member
Former Member

BLOB insert into HANA Problem

I am trying to insert an image into HANA using the BLOB data type. I am creating a procedure then calling it to do the insert, but when I go to look at the data preview, the BLOB has been changed to something completely different and I dont know why(see pic). I have attached my SP and call statement. I would really appreciate some help on this. We're scheduled to display this funcitonality at FKOM.

testBlob.txt.zip (1.5 kB)
hexcode.JPG (67.6 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 06, 2014 at 09:38 PM

    It's displaying your image as stored, in hex format. Presumably it's your image data which is wrong - the BLOB is just a binary object, it has no intelligence to the format.

    You may find that it is easier to read the image from a file using the syntax from this thread: Unstructured Data in HANA | SAP HANA

    John

    P.S. If you want some traction around FKOM, you may want to ask an internal audience :-)

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.