<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Nodejs: Insert HTML content in Hana Table in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/nodejs-insert-html-content-in-hana-table/qaa-p/12359648#M4628015</link>
    <description>&lt;P&gt;There are two issues in your statement.&lt;/P&gt;&lt;P&gt;1) The opening single quote for the HTML content string is missing.&lt;/P&gt;&lt;P&gt;2) The single quotes in the HTML content string needs to be escaped. A single quote is escape with an additional single quote (' -&amp;gt; ''). &lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2021 15:08:06 GMT</pubDate>
    <dc:creator>pfefferf</dc:creator>
    <dc:date>2021-02-10T15:08:06Z</dc:date>
    <item>
      <title>Nodejs: Insert HTML content in Hana Table</title>
      <link>https://community.sap.com/t5/technology-q-a/nodejs-insert-html-content-in-hana-table/qaq-p/12359647</link>
      <description>&lt;P&gt;Hi, I'm having difficulty in insertion of a string that contains special characters. Below is my query &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;INSERT INTO "3D5F24CF599F49B2B3D8FD219665A30B"."TEST_FAQ" VALUES(
	'2021-02-10T12:41:01.928Z'/*CREATEDAT &amp;lt;TIMESTAMP&amp;gt;*/,
	'admin'/*CREATEDBY &amp;lt;NVARCHAR(255)&amp;gt;*/,
	'2021-02-10T12:41:01.928Z'/*MODIFIEDAT &amp;lt;TIMESTAMP&amp;gt;*/,
	'admin'/*MODIFIEDBY &amp;lt;NVARCHAR(255)&amp;gt;*/,
	'5e3efc3e-6b9d-11eb-9439-0242ac130002'/*ID &amp;lt;NVARCHAR(36)&amp;gt;*/,
	'That's my question'/*QUESTION &amp;lt;NVARCHAR(5000)&amp;gt;*/,
	&amp;lt;p style='box-shadow: 1px 1px 5px #999999;position: relative;margin: 5px 10px;'&amp;gt;&amp;lt;p style='padding: 10px;border: 1px solid transparent;'&amp;gt;&amp;lt;p style='font-size:16px;word-wrap: break-word;'&amp;gt;Job Description
&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Primary Duties and Responsibilities&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;'/*ANSWER &amp;lt;NVARCHAR(5000)&amp;gt;*/
)
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;BR /&gt;It gives me incorrect syntax error. Do I have to change my datatype ? How should I do this ? &lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 12:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/nodejs-insert-html-content-in-hana-table/qaq-p/12359647</guid>
      <dc:creator>former_member25214</dc:creator>
      <dc:date>2021-02-10T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Nodejs: Insert HTML content in Hana Table</title>
      <link>https://community.sap.com/t5/technology-q-a/nodejs-insert-html-content-in-hana-table/qaa-p/12359648#M4628015</link>
      <description>&lt;P&gt;There are two issues in your statement.&lt;/P&gt;&lt;P&gt;1) The opening single quote for the HTML content string is missing.&lt;/P&gt;&lt;P&gt;2) The single quotes in the HTML content string needs to be escaped. A single quote is escape with an additional single quote (' -&amp;gt; ''). &lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 15:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/nodejs-insert-html-content-in-hana-table/qaa-p/12359648#M4628015</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2021-02-10T15:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Nodejs: Insert HTML content in Hana Table</title>
      <link>https://community.sap.com/t5/technology-q-a/nodejs-insert-html-content-in-hana-table/qaa-p/12359649#M4628016</link>
      <description>&lt;P&gt;Thanks for pointing it out, I I have to pre-process the string before saving it into my table. I'm  not sure if its the right approach or not.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 19:56:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/nodejs-insert-html-content-in-hana-table/qaa-p/12359649#M4628016</guid>
      <dc:creator>former_member25214</dc:creator>
      <dc:date>2021-02-10T19:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Nodejs: Insert HTML content in Hana Table</title>
      <link>https://community.sap.com/t5/technology-q-a/nodejs-insert-html-content-in-hana-table/qaa-p/12359650#M4628017</link>
      <description>&lt;P&gt;I have to escape and using escape() function in nodejs. and use unescape after fetching ot from the database. &lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 19:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/nodejs-insert-html-content-in-hana-table/qaa-p/12359650#M4628017</guid>
      <dc:creator>former_member25214</dc:creator>
      <dc:date>2021-02-10T19:59:53Z</dc:date>
    </item>
  </channel>
</rss>

