sql - Using comma with an update sentence -


I want to update the row in which some HTML tags come in. For example:

  src = '/ imagem.png' & gt; & Lt; / P & gt; & Lt; / Body & gt; & Gt; Update Istanbul Tags: SET TEXT = '& lt; & Gt; Body & gt; & Lt; P & gt; & Lt; Img src = '/ imagem.png' & gt; & Lt; /> P & gt; & Lt; / Body & gt; After WHERE 1 = 1  

you see that the query ends, but it does not end. How to solve it without using " (double comma)? Any solution please?

Best regards BK

You need to avoid typing single-quotations twice:

  update IstanbulTableText = '& Lt; body & gt; & lt; p & gt; & lt; img src = '' / imagem.png '' & gt; In addition, your  WHERE section is unnecessary and it is completely Can be dropped from  
  updated ISTBugtua set Cust = & lt; body & gt; & lt; p & gt; & lt; img src = '' / imagem.png '' & gt; ' 

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -