<?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 Keep double quotes while extracting data from SAP HANA table to SAS using PROC SQL in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Keep-double-quotes-while-extracting-data-from-SAP-HANA-table-to/m-p/858998#M339408</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;When we extract data from SAP HANA table into SAS table by PROC SQL query, we got below result.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASTECH1_0-1676479901687.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80437iFDC8D0D8FF154D20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASTECH1_0-1676479901687.png" alt="SASTECH1_0-1676479901687.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1. We need SAS to write double quote (") instead of special characters '&lt;STRONG&gt;â€'&amp;nbsp;&lt;/STRONG&gt;in the SAS&amp;nbsp;Table.&lt;/P&gt;&lt;P&gt;2. Also we need whatever character(includes -&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;-/:;()$&amp;amp;@".,?!'[]{}#%^*+=_\|~&amp;lt;&amp;gt;) comes from SAP HANA table, that need to be write same in SAS table as well.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Please help on this.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;@&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892" target="_self"&gt;&lt;SPAN class=""&gt;PaigeMiller&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 16:52:06 GMT</pubDate>
    <dc:creator>SASTECH1</dc:creator>
    <dc:date>2023-02-15T16:52:06Z</dc:date>
    <item>
      <title>Keep double quotes while extracting data from SAP HANA table to SAS using PROC SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Keep-double-quotes-while-extracting-data-from-SAP-HANA-table-to/m-p/858998#M339408</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;When we extract data from SAP HANA table into SAS table by PROC SQL query, we got below result.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASTECH1_0-1676479901687.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80437iFDC8D0D8FF154D20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASTECH1_0-1676479901687.png" alt="SASTECH1_0-1676479901687.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1. We need SAS to write double quote (") instead of special characters '&lt;STRONG&gt;â€'&amp;nbsp;&lt;/STRONG&gt;in the SAS&amp;nbsp;Table.&lt;/P&gt;&lt;P&gt;2. Also we need whatever character(includes -&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;-/:;()$&amp;amp;@".,?!'[]{}#%^*+=_\|~&amp;lt;&amp;gt;) comes from SAP HANA table, that need to be write same in SAS table as well.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Please help on this.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;@&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892" target="_self"&gt;&lt;SPAN class=""&gt;PaigeMiller&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 16:52:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Keep-double-quotes-while-extracting-data-from-SAP-HANA-table-to/m-p/858998#M339408</guid>
      <dc:creator>SASTECH1</dc:creator>
      <dc:date>2023-02-15T16:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Keep double quotes while extracting data from SAP HANA table to SAS using PROC SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Keep-double-quotes-while-extracting-data-from-SAP-HANA-table-to/m-p/859017#M339414</link>
      <description>&lt;P&gt;Make sure your SAS session runs with UTF encoding.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 18:13:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Keep-double-quotes-while-extracting-data-from-SAP-HANA-table-to/m-p/859017#M339414</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-02-15T18:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Keep double quotes while extracting data from SAP HANA table to SAS using PROC SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Keep-double-quotes-while-extracting-data-from-SAP-HANA-table-to/m-p/859035#M339418</link>
      <description>&lt;P&gt;Looks like an encoding mismatch between SAP HANA and SAS. You can check your SAS encoding like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option = encoding;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For a particular table use this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data = MyTable;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Post the results from running these.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 19:27:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Keep-double-quotes-while-extracting-data-from-SAP-HANA-table-to/m-p/859035#M339418</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-02-15T19:27:28Z</dc:date>
    </item>
  </channel>
</rss>

