<?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 update the target table for particular column in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/update-the-target-table-for-particular-column/m-p/625381#M8807</link>
    <description>&lt;P&gt;I want to update the target table with some values from another table.I tried using update transformation and table-loader,it didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My target table has a column note_type&amp;nbsp; with values 'GRAD' and 'note'.I want to update the column reason_code for only 'NOTE' from another worktable in sas di.Could anyone let me know please.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2020 18:37:07 GMT</pubDate>
    <dc:creator>s260m107</dc:creator>
    <dc:date>2020-02-17T18:37:07Z</dc:date>
    <item>
      <title>update the target table for particular column</title>
      <link>https://communities.sas.com/t5/SAS-Studio/update-the-target-table-for-particular-column/m-p/625381#M8807</link>
      <description>&lt;P&gt;I want to update the target table with some values from another table.I tried using update transformation and table-loader,it didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My target table has a column note_type&amp;nbsp; with values 'GRAD' and 'note'.I want to update the column reason_code for only 'NOTE' from another worktable in sas di.Could anyone let me know please.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 18:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/update-the-target-table-for-particular-column/m-p/625381#M8807</guid>
      <dc:creator>s260m107</dc:creator>
      <dc:date>2020-02-17T18:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: update the target table for particular column [how to improve your question]</title>
      <link>https://communities.sas.com/t5/SAS-Studio/update-the-target-table-for-particular-column/m-p/625383#M8808</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/282155"&gt;@s260m107&lt;/a&gt;,&lt;/P&gt;&lt;BR /&gt; &lt;P&gt;Your question requires more details before experts can help.&amp;nbsp;Can you revise your question to include more information?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Review this checklist:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Specify a meaningful subject line for your topic.&amp;nbsp; Avoid generic subjects like "need help," "SAS query," or "urgent."&lt;/LI&gt;
&lt;LI&gt;When appropriate, provide sample data in text or DATA step format.&amp;nbsp; See &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;this article for one method&lt;/A&gt;&amp;nbsp;you can use.&lt;/LI&gt;
&lt;LI&gt;If you're encountering an error in SAS, include the SAS log or a screenshot of the error condition.&amp;nbsp;Use the&amp;nbsp;&lt;STRONG&gt;Photos&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;button to include the image in your message.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 279px;"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/16608i91A52F817EAC9A69/image-dimensions/279x150?v=1.0" width="279" height="150" alt="use_buttons.png" title="use_buttons.png" /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;It also helps to include an example (table or picture) of the result that you're trying to achieve.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To edit your original message, select the "blue gear" icon at the top of the message and select&amp;nbsp;&lt;STRONG&gt;Edit Message&lt;/STRONG&gt;.&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;From there you can adjust the title and add more details to the body of the message.&amp;nbsp; Or, simply reply to this message with any additional information you can supply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 229px;"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/16605iAC020BC79315B045/image-size/large?v=1.0&amp;amp;px=600" alt="edit_post.png" title="edit_post.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SAS experts are eager to help -- help&amp;nbsp;&lt;EM&gt;them&lt;/EM&gt; by providing as much detail as you can.&lt;/P&gt; &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style:italic;font-size:smaller;"&gt;This prewritten response was triggered for you by fellow SAS Support Communities member &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;.</description>
      <pubDate>Mon, 17 Feb 2020 18:38:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/update-the-target-table-for-particular-column/m-p/625383#M8808</guid>
      <dc:creator>Community_Guide</dc:creator>
      <dc:date>2020-02-17T18:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: update the target table for particular column</title>
      <link>https://communities.sas.com/t5/SAS-Studio/update-the-target-table-for-particular-column/m-p/625783#M8819</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/282155"&gt;@s260m107&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I want to update the target table with some values from another table.I tried using update transformation and table-loader,it didn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My target table has a column note_type&amp;nbsp; with values 'GRAD' and 'note'.I want to update the column reason_code for only 'NOTE' from another worktable in sas di.Could anyone let me know please.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DIS questions are best asked in the Data Management forum &lt;A href="https://communities.sas.com/t5/SAS-Data-Management/bd-p/data_management" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what you describe the SQL Update transformation feels right.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;EM&gt;it didn't work&lt;/EM&gt;" is very vague. Assuming this means the job run without errors but the target table did't get updated: Most likely code is that you either didn't set-up the transformation as you should or the data in the key column is not matching (eventually wrap an upcase(compress(note_type) around the column (for both source and target table column).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To investigate what's happening: Have a look into the generated SQL Update code. Does it look right? Else start changing the configuration for the SQL Update transformation until the generated SQL code looks right. Eventually post the generated code here.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 06:06:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/update-the-target-table-for-particular-column/m-p/625783#M8819</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-02-19T06:06:10Z</dc:date>
    </item>
  </channel>
</rss>

