<?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 How to replicate SQL error message in SAS using Proc SQL in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-replicate-SQL-error-message-in-SAS-using-Proc-SQL/m-p/716502#M221449</link>
    <description>&lt;P&gt;CREATE TABLE Table_1&lt;BR /&gt;(&lt;BR /&gt;col1 NUMERIC(16, 12)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;INSERT INTO Table_1&lt;BR /&gt;SELECT col1&lt;BR /&gt;FROM table_2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to replicate above code in SAS using proc SQL? if the length&amp;nbsp; of col1 from table 2 does not matches with&amp;nbsp;&lt;/P&gt;&lt;P&gt;col1 NUMERIC(16, 12) the program should show an error message.&lt;/P&gt;&lt;P&gt;Is it achievable in SAS using proc SQL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2021 15:43:56 GMT</pubDate>
    <dc:creator>madhuk</dc:creator>
    <dc:date>2021-02-03T15:43:56Z</dc:date>
    <item>
      <title>How to replicate SQL error message in SAS using Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-replicate-SQL-error-message-in-SAS-using-Proc-SQL/m-p/716502#M221449</link>
      <description>&lt;P&gt;CREATE TABLE Table_1&lt;BR /&gt;(&lt;BR /&gt;col1 NUMERIC(16, 12)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;INSERT INTO Table_1&lt;BR /&gt;SELECT col1&lt;BR /&gt;FROM table_2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to replicate above code in SAS using proc SQL? if the length&amp;nbsp; of col1 from table 2 does not matches with&amp;nbsp;&lt;/P&gt;&lt;P&gt;col1 NUMERIC(16, 12) the program should show an error message.&lt;/P&gt;&lt;P&gt;Is it achievable in SAS using proc SQL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 15:43:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-replicate-SQL-error-message-in-SAS-using-Proc-SQL/m-p/716502#M221449</guid>
      <dc:creator>madhuk</dc:creator>
      <dc:date>2021-02-03T15:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate SQL error message in SAS using Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-replicate-SQL-error-message-in-SAS-using-Proc-SQL/m-p/716504#M221451</link>
      <description>&lt;P&gt;SAS has only one datatype for numbers: numeric (8 byte floating point, aka "real"). All numeric types defined in, say SQL, map to this; combining such datasets will work.&lt;/P&gt;
&lt;P&gt;Only when you try to mix character with numeric, or character variables with different defined lengths, will you run into problems.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 15:50:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-replicate-SQL-error-message-in-SAS-using-Proc-SQL/m-p/716504#M221451</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-02-03T15:50:35Z</dc:date>
    </item>
  </channel>
</rss>

