<?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 Re: Problem with special character [ODBC import SQL Server] in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-special-character-ODBC-import-SQL-Server/m-p/465836#M30190</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which encode configuration you are using in your SqlServer database?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to me that you have encoding problem. Maybe this link can help you:&amp;nbsp;&lt;A href="http://support.sas.com/kb/36/652.html" target="_blank"&gt;http://support.sas.com/kb/36/652.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To understand more about encoding:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Edmonton-User-Group/SAS9UTF-8SupportandTroubleshootingTips.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Edmonton-User-Group/SAS9UTF-8SupportandTroubleshootingTips.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2018 21:11:52 GMT</pubDate>
    <dc:creator>thiagoglima</dc:creator>
    <dc:date>2018-05-29T21:11:52Z</dc:date>
    <item>
      <title>Problem with special character [ODBC import SQL Server]</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-special-character-ODBC-import-SQL-Server/m-p/465820#M30184</link>
      <description>&lt;P&gt;Hello everybody.&lt;/P&gt;&lt;P&gt;I need to import a SQL Server table in SAS. I've done this import with an ODBC connector, but in SQL Server table, there are rows with special characters, like ç, á, é, í...&lt;/P&gt;&lt;P&gt;When I've imported this table to SAS, all the values with special char have changed. For example the value ÍNDIO was changed for ¿NDIO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I solve this problem with special character?&lt;/P&gt;&lt;P&gt;Are there any people with the same problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Import code is like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
connect to odbc as mycon
   (datasrc=ora7 user=testuser password=testpass);

create table SAS_TABLE as
select *   from connection to mycon
      (select *  from sasdemo.employees);

disconnect from mycon;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 00:50:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-special-character-ODBC-import-SQL-Server/m-p/465820#M30184</guid>
      <dc:creator>Mozart_Sindeaux</dc:creator>
      <dc:date>2018-05-30T00:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with special character [ODBC import SQL Server]</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-special-character-ODBC-import-SQL-Server/m-p/465836#M30190</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which encode configuration you are using in your SqlServer database?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to me that you have encoding problem. Maybe this link can help you:&amp;nbsp;&lt;A href="http://support.sas.com/kb/36/652.html" target="_blank"&gt;http://support.sas.com/kb/36/652.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To understand more about encoding:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Edmonton-User-Group/SAS9UTF-8SupportandTroubleshootingTips.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Edmonton-User-Group/SAS9UTF-8SupportandTroubleshootingTips.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 21:11:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-special-character-ODBC-import-SQL-Server/m-p/465836#M30190</guid>
      <dc:creator>thiagoglima</dc:creator>
      <dc:date>2018-05-29T21:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with special character [ODBC import SQL Server]</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-special-character-ODBC-import-SQL-Server/m-p/466016#M30212</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/191385"&gt;@Mozart_Sindeaux&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I concur with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155861"&gt;@thiagoglima&lt;/a&gt;, the link provided should be able to help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to focus on: the encoding (specially if single-byte or double-byte) from origin data source (MSQL) and destination (the SAS table, bases in your SAS sessions encoding, which you can check with %put _ALL_;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, you need to use the transcoding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Indeed, problem is that SAS-ODBC connections have trouble with trans-coding but the referred SAS note&amp;nbsp;36652 provides a great example to workaround it.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 13:52:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-special-character-ODBC-import-SQL-Server/m-p/466016#M30212</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-05-30T13:52:40Z</dc:date>
    </item>
  </channel>
</rss>

