title: Teradata row not delivered (trget): The format or data contains a bad character
body: <p>I am using SAS 9.4 to pull the data from Teradata tables and I have the following error</p>
  
  <pre><code>  Teradata row not delivered (trget): The format or 
  data    contains a bad character 
  
    Proc sql;
    Connect to Teradata(user=......)
     Create table table1 as
     Select * from connection to Teradata
    (Select 
       Text1,
        Text2
        From TeraTable
        Where timeperiod between ‘2017-07-01’ and ‘2017-07-15’
     Quit;
  </code></pre>
  
  <p>The text1 and text2 may contain some special characters.</p>
  
  <p>Does anyone have solution?</p>