How to add Additional quote (') in Insert statement using QODBC
Problem Description:
I have exported customer list from QB and Now I wanted to insert these using insert query. But some of them are failing because of having apostophe (').
How to deal with special characters like this.
Solutions:
I would like to inform you that you can additional quote in your query.
For Example If you want to add customer whose name contains extra quotes, then you can insert name using below query:
Insert into customer (name) values ('Larry''s Custom Invoice ')
The above query will create customer entry with name Larry's Custom Invoice.