Skip to Content
avatar image
Former Member

invalid column name : sap hana

Hi ,

I have two columns queid integer primary key , quename varchar i have created it , but when i try to insert values into it 's giving me error invalid column name

Could not execute 'insert into q2 values(1, "You got a second job offer that pays good but not of your interest, while ...' SAP DBTech JDBC: [260]: invalid column name: You got a second job offer that pays good but not of your interest, while the first job offers a less pay but great value to your career, youd: line 1 col 26 (at pos 25)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 14, 2017 at 10:36 AM

    To insert String values, you have to use single quotes for the values. Like:

    insert into q2 values(1, 'You got a second job offer that pays good but not of your interest')
    Add comment
    10|10000 characters needed characters exceeded