Quantcast
Channel: SCN : All Content - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6745

Sql update issue with single quotes in the middle.

$
0
0

Hi Guys ,

 

I have this code for updating data into the Link column.

 

 

 

UPDATE "PROCESS_FULL"."MATERIAL_EVENT_COPY"


SET

LINK ='/CLIENT_DEPLOYMENT_COPY/$format=json&$filter=DOC_CATEGORY eq 'J'&$select=DOC_CATEGORY,PROCESSING_STATUS_DOC_ITEM,ERDAT,ERDAT_ST,PERC'


WHERE

EVENT_DETAIL=' No. of delivery documents for given period'

 

 

 

LINK is of nvarchar type. Bcoz of  value of 'J' (underlined)I am getting syntax error.When I remove the quotes i get No error

I have to put the value as like it is without any change in the link value.

Kindly suggest me how to resolve this issue.


Viewing all articles
Browse latest Browse all 6745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>