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

Import The Data With Double Quotes Into SAP HANA

Hi everyone,

I am trying to import a CSV file into SAP HANA using SQL script. Some of the field data in CSV file contains double quotes (Eg: "peter"). After importing the data to SAP HANA it is displaying the particular data without double quotes (Eg: peter). How can I upload the data into SAP HANA including the double quotes?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 25, 2017 at 04:29 AM

    You have to escape the double quotes with a backslash that they are considere for the import.

    E.g. \"peter\"

    Regards,
    Florian

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 19, 2018 at 11:57 PM

    Hi Satya,

    I'm facing a similar issue. I wanted to load the data into the HANA table without modifying the TEXT in CSV file. Could you please let me know how you resolved it.

    Regards

    Ganapathi.

    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.