<?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 encoding during insert from SAS EG on Linux into SQL SERVER table using ODBC in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-encoding-during-insert-from-SAS-EG-on-Linux-into/m-p/330137#M271845</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in general, the ODBC connection seems to work fine.&amp;nbsp;&lt;BR /&gt;For that error with chinesse characters, could you compare this field with the one in the database itself?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, for getting more information on the database, maybe you would like to use something as:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options SASTRACE= ',,,d' SASTRACELOC=SASLOG; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Feel free to read more at:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/engfedsrv/70118/HTML/default/n167fxh8cc9h2an198cln7b46vb9.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/engfedsrv/70118/HTML/default/n167fxh8cc9h2an198cln7b46vb9.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the last, probably you would like to help from a DBA (database administrator) to help you out here. It could be that the character set, the encoding or formats between SAS and your database are misaligned.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2017 11:11:30 GMT</pubDate>
    <dc:creator>JuanS_OCS</dc:creator>
    <dc:date>2017-02-06T11:11:30Z</dc:date>
    <item>
      <title>Problem with encoding during insert from SAS EG on Linux into SQL SERVER table using ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-encoding-during-insert-from-SAS-EG-on-Linux-into/m-p/329960#M271844</link>
      <description>&lt;P&gt;I'm using SAS 94 EG on Linux, I use ODBC driver to connect to Microsoft SQL SERVER&lt;/P&gt;&lt;P&gt;when I use proc sql to insert record the text variable [titolo_piano] appair in chinese !!! but no error on log :&lt;/P&gt;&lt;P&gt;there are some others parameters i have to put on libname statement or some encoding reference?&lt;/P&gt;&lt;P&gt;Thank's&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let uid=xxx;
%let pwd=yyy;
libname libColl odbc noprompt="uid=&amp;amp;uid.;pwd=&amp;amp;pwd.;dsn=jjjjj;schema=dbo;" readbuff=100 sql_functions=all;
data test;
   wave_corr=999999;
   IDPiano="ID001";
   fase=1;
   titolo_piano="This is an example of text I wont to insert";
   output;
run;
proc sql;
   INSERT INTO libColl.Best_Practice (wave_corr, IDPiano, fase, titolo_piano) SELECT wave_corr, IDPiano, fase, titolo_piano from test;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;this is the result:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7100i98B630315F0326FC/image-size/medium?v=1.0&amp;amp;px=-1" border="0" alt="image001.jpg" title="image001.jpg" align="left" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2017 15:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-encoding-during-insert-from-SAS-EG-on-Linux-into/m-p/329960#M271844</guid>
      <dc:creator>gianlucA</dc:creator>
      <dc:date>2017-02-04T15:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with encoding during insert from SAS EG on Linux into SQL SERVER table using ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-encoding-during-insert-from-SAS-EG-on-Linux-into/m-p/330137#M271845</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in general, the ODBC connection seems to work fine.&amp;nbsp;&lt;BR /&gt;For that error with chinesse characters, could you compare this field with the one in the database itself?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, for getting more information on the database, maybe you would like to use something as:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options SASTRACE= ',,,d' SASTRACELOC=SASLOG; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Feel free to read more at:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/engfedsrv/70118/HTML/default/n167fxh8cc9h2an198cln7b46vb9.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/engfedsrv/70118/HTML/default/n167fxh8cc9h2an198cln7b46vb9.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the last, probably you would like to help from a DBA (database administrator) to help you out here. It could be that the character set, the encoding or formats between SAS and your database are misaligned.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 11:11:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-encoding-during-insert-from-SAS-EG-on-Linux-into/m-p/330137#M271845</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-02-06T11:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with encoding during insert from SAS EG on Linux into SQL SERVER table using ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-encoding-during-insert-from-SAS-EG-on-Linux-into/m-p/486570#M271846</link>
      <description>&lt;P&gt;Did you find a solution? I have the same problem.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 07:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-encoding-during-insert-from-SAS-EG-on-Linux-into/m-p/486570#M271846</guid>
      <dc:creator>BLC</dc:creator>
      <dc:date>2018-08-14T07:37:57Z</dc:date>
    </item>
  </channel>
</rss>

