I am trying to run a simple query over jdbc ALTER TABLE Customer ALTER \”Cust-Name\” set PRO_DESCRIPTION ‘Customer Name’
This works perfectly well. But, when I have to set description as “Customer’s Name”, i.e, include a single quote – I am unable to get it to work.
I tried
ALTER TABLE Customer ALTER \"Cust-Name\" set PRO_DESCRIPTION 'Customer~'s Name'
ALTER TABLE Customer ALTER \"Cust-Name\" set PRO_DESCRIPTION 'Customer~~'s Name'
ALTER TABLE Customer ALTER \"Cust-Name\" set PRO_DESCRIPTION 'Customer\\'sName'
ALTER TABLE Customer ALTER \"Cust-Name\" set PRO_DESCRIPTION "Customer's Name"
Nothing works.
I don’t know Progress, but the SQL standard is to duplicate the single quote: