Missing a matching closing delimiter in statement
Hiiii,
When i try to insert data on db Vertica i encounter this error « Missing a matching closing delimiter in statement , ‘ INSERT INTO mydb ( ´Dav’id’, ´Smith’, Joe, ladouille’),
Please could you help me, i dont know how resolve my problem with « Dav’id »
Thanks for your help.
When i try to insert data on db Vertica i encounter this error « Missing a matching closing delimiter in statement , ‘ INSERT INTO mydb ( ´Dav’id’, ´Smith’, Joe, ladouille’),
Please could you help me, i dont know how resolve my problem with « Dav’id »
Thanks for your help.
0
Comments
With two adjacent single quotes?
Another option:
See:
https://forum.vertica.com/discussion/240097/simplify-string-literals-with-dollar-quoted-string-literals
What do you mean you can't change the format? Of the actual data? The Dollar ($$) quoted method is not changing the data format...
Another example:
Error in .local(conn, statement, ...) :
execute JDBC update query failed in dbSendUpdate ([Vertica]VJDBC ERROR: COPY: Input record 1 has been rejected (Invalid integer format '"Dav'id","XXXXXXX",0,"XXXX","XXXXXXXX","xxxxxx",NA,0,NA,NA,NA' for column 1 (nom_etablissement)))
This is my error
Can you post the structure of the DB table (column names and data types)?
Is the nom_etablissement an integer?
This simple example works fine using the COPY command: