<?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: Change in length of character data type while creating table backup using PROC SQL in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Change-in-length-of-character-data-type-while-creating-table/m-p/328720#M73419</link>
    <description>&lt;P&gt;Different systems have different defaults and assumptions.&lt;/P&gt;
&lt;P&gt;For instance, in your pictures, in the Oracle DB numeric length is 16, in SAS it is 17, this is due to SAS including '.' as a character, where Oracle does not. &amp;nbsp;As for the character length, maybe this post will help, it is the storage difference between them.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Oracle-column-length-increase-when-metadata-is-registered-to-DI/td-p/31897" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/Oracle-column-length-increase-when-metadata-is-registered-to-DI/td-p/31897&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shouldn't make any difference though.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2017 13:03:25 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-01-31T13:03:25Z</dc:date>
    <item>
      <title>Change in length of character data type while creating table backup using PROC SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-in-length-of-character-data-type-while-creating-table/m-p/328717#M73418</link>
      <description>&lt;P&gt;When we create backup of a table using below lines of codes, it quadruples the length of character variable. However, length of Number variables remains unchanged (refer to below screen shots).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;/P&gt;&lt;P&gt;CREATE TABLE &amp;lt;NEW TABLE NAME&amp;gt; AS&lt;/P&gt;&lt;P&gt;SELECT * FROM &amp;lt;EXISTING TABLE NAME&amp;gt;;&lt;/P&gt;&lt;P&gt;QUIT;&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/7032iDB0663C01052B340/image-size/original?v=1.0&amp;amp;px=-1" alt="Length1.JPG" title="Length1.JPG" border="0" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7033i7513433722755A02/image-size/original?v=1.0&amp;amp;px=-1" alt="Length4.JPG" title="Length4.JPG" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is it so? Here, Database is Oracle. I'm not sure if this happens across all DB servers.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 13:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-in-length-of-character-data-type-while-creating-table/m-p/328717#M73418</guid>
      <dc:creator>manishiiita</dc:creator>
      <dc:date>2017-01-31T13:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Change in length of character data type while creating table backup using PROC SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-in-length-of-character-data-type-while-creating-table/m-p/328720#M73419</link>
      <description>&lt;P&gt;Different systems have different defaults and assumptions.&lt;/P&gt;
&lt;P&gt;For instance, in your pictures, in the Oracle DB numeric length is 16, in SAS it is 17, this is due to SAS including '.' as a character, where Oracle does not. &amp;nbsp;As for the character length, maybe this post will help, it is the storage difference between them.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Oracle-column-length-increase-when-metadata-is-registered-to-DI/td-p/31897" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/Oracle-column-length-increase-when-metadata-is-registered-to-DI/td-p/31897&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shouldn't make any difference though.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 13:03:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-in-length-of-character-data-type-while-creating-table/m-p/328720#M73419</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-01-31T13:03:25Z</dc:date>
    </item>
  </channel>
</rss>

