<?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: Error: Teradata insert: No more room in database in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-Teradata-insert-No-more-room-in-database/m-p/443135#M28608</link>
    <description>Hi Kiranv,&lt;BR /&gt;Thank you for the reply. I found out I only need to create database - so I am using the one you included in your post. so no new code to be shared.</description>
    <pubDate>Wed, 07 Mar 2018 01:27:19 GMT</pubDate>
    <dc:creator>c4th1</dc:creator>
    <dc:date>2018-03-07T01:27:19Z</dc:date>
    <item>
      <title>Error: Teradata insert: No more room in database</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-Teradata-insert-No-more-room-in-database/m-p/442671#M28559</link>
      <description>&lt;P&gt;Hi I am running the EG code that is pointing towards the Teradata sql before Teradata sends the info back to the lasr table. however I have been receiving this error message although we have increase the room.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you be able to advise what are the steps to eliminate this issue which has happened for the second time in three months time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 00:12:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-Teradata-insert-No-more-room-in-database/m-p/442671#M28559</guid>
      <dc:creator>c4th1</dc:creator>
      <dc:date>2018-03-06T00:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Teradata insert: No more room in database</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-Teradata-insert-No-more-room-in-database/m-p/442727#M28563</link>
      <description>&lt;P&gt;Talk to your Teradata DBA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you understand your process you should be able to make some pretty accurate estimates of how much space you need.&lt;/P&gt;
&lt;P&gt;Make sure you have enough before running the program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure your tables are defined to be efficient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that if you are using SAS to define new tables you probably want to look into the DBTYPE= dataset option to allow you to define the Teradata type that will be used for your variables.&amp;nbsp; You can include Teradata compression options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname out teradata .... ;
data out.new (dbtype=(gender="varchar(6) compress ('Male','Female')"));
  set have;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Mar 2018 04:49:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-Teradata-insert-No-more-room-in-database/m-p/442727#M28563</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-03-06T04:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Teradata insert: No more room in database</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-Teradata-insert-No-more-room-in-database/m-p/442747#M28565</link>
      <description>&lt;P&gt;No more room in database, usually happens, if you having wrong Primary index for Teradata Table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example, if you have created table using code below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data tdtable.employee_scoring;&lt;/P&gt;
&lt;P&gt;set work.employee_scoring(keep= Job_type employee_number Sal Sal_rating);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When primary index is not explicitly defined, usually first column is selected as primary index. In the above example if the primary index was not explicitly defined, job_type, which is the first column, will be selected as primary index, which may lead to data skewing and if your first column is not all unique then you can see the error your mentioning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please mention primary index explicitly by using d&lt;SPAN&gt;bcreate_table_opts option.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data tdtable.employee_scoring (dbcreate_table_opts= 'primary index(employee_number)');&lt;/P&gt;
&lt;P&gt;set work.employee_scoring(keep= Job_type employee_number Sal, Sal_rating);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if possible, please share your code.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 06:00:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-Teradata-insert-No-more-room-in-database/m-p/442747#M28565</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-03-06T06:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Teradata insert: No more room in database</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-Teradata-insert-No-more-room-in-database/m-p/443135#M28608</link>
      <description>Hi Kiranv,&lt;BR /&gt;Thank you for the reply. I found out I only need to create database - so I am using the one you included in your post. so no new code to be shared.</description>
      <pubDate>Wed, 07 Mar 2018 01:27:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-Teradata-insert-No-more-room-in-database/m-p/443135#M28608</guid>
      <dc:creator>c4th1</dc:creator>
      <dc:date>2018-03-07T01:27:19Z</dc:date>
    </item>
  </channel>
</rss>

