<?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>topic Merge Statement in BODS Script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/merge-statement-in-bods-script/m-p/583720#M23241</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Iam using the below SQL call in a BODS script&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;SQL('DEV_DWH','MERGE INTO F_CLNDR TRG USING ( SELECT B.BUS_DAY,D.CLNDR_DT FROM (SELECT CLNDR_DT,BUS_DAY FROM F_CLNDR) B INNER JOIN (SELECT (CLNDR_DT-1) AS DTE,BUS_DAY,CLNDR_DT FROM F_CLNDR) D ON B.CLNDR_DT=D.DTE WHERE D.BUS_DAY IS NULL ) SRC ON (TRG.CLNDR_DT=SRC.CLNDR_DT) WHEN MATCHED THEN UPDATE SET TRG.BUS_DAY=SRC.BUS_DAY;');&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Iam getting invalid character error while running this.Can you help me with this&lt;/P&gt;</description>
    <pubDate>Thu, 24 May 2018 17:42:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-05-24T17:42:34Z</dc:date>
    <item>
      <title>Merge Statement in BODS Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/merge-statement-in-bods-script/m-p/583720#M23241</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Iam using the below SQL call in a BODS script&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;SQL('DEV_DWH','MERGE INTO F_CLNDR TRG USING ( SELECT B.BUS_DAY,D.CLNDR_DT FROM (SELECT CLNDR_DT,BUS_DAY FROM F_CLNDR) B INNER JOIN (SELECT (CLNDR_DT-1) AS DTE,BUS_DAY,CLNDR_DT FROM F_CLNDR) D ON B.CLNDR_DT=D.DTE WHERE D.BUS_DAY IS NULL ) SRC ON (TRG.CLNDR_DT=SRC.CLNDR_DT) WHEN MATCHED THEN UPDATE SET TRG.BUS_DAY=SRC.BUS_DAY;');&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Iam getting invalid character error while running this.Can you help me with this&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 17:42:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/merge-statement-in-bods-script/m-p/583720#M23241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-05-24T17:42:34Z</dc:date>
    </item>
  </channel>
</rss>

