<?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: primary keys in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962243#M946480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When defining table you can set as many fields as PRIMARY KEY as you wish. &lt;/P&gt;&lt;P&gt;If only one field is set as a primary key, the key is SIMPLE, if more it is COMPLEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE11 and see any table &lt;/P&gt;&lt;P&gt;i.e. T500L (simple key -only one key has tick next to it in the KEY checkbox)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2008 12:56:26 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2008-06-23T12:56:26Z</dc:date>
    <item>
      <title>primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962237#M946474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How many primary keys can be there in the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;R.Rajendran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 12:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962237#M946474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T12:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962238#M946475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We can define 16 primary keys at max.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 12:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962238#M946475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T12:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962239#M946476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;primary key is created by SAP automatically.so it will be only one in table.Secondary keys can be many in table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;\[removed by moderator\]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jan Stallkamp on Jun 23, 2008 3:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 12:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962239#M946476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T12:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962240#M946477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There can be one primary key basically But you can create as many secondary indexes in the database corresponding to the table. But this will take the memory ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;\[removed by moderator\]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jan Stallkamp on Jun 23, 2008 3:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 12:51:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962240#M946477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T12:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962241#M946478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can define 16 primary keys in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 12:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962241#M946478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T12:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962242#M946479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;16 primary keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Primary Index&lt;/STRONG&gt; is created by the system automatically and not primary keys.&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;\[removed by moderator\]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R Adarsh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jan Stallkamp on Jun 23, 2008 3:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 12:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962242#M946479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T12:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962243#M946480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When defining table you can set as many fields as PRIMARY KEY as you wish. &lt;/P&gt;&lt;P&gt;If only one field is set as a primary key, the key is SIMPLE, if more it is COMPLEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE11 and see any table &lt;/P&gt;&lt;P&gt;i.e. T500L (simple key -only one key has tick next to it in the KEY checkbox)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 12:56:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962243#M946480</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-06-23T12:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962244#M946481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read this article for specially sap people..read 1st paragraph &amp;amp; 3rd paragraph under title Internal &lt;STRONG&gt;tables with secondary keys&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap.info/public/INT/int/printout/article/Category-28943c61b1e60d84b-int/3/articlesVersions-32466479756b7ba526/?PHPSESSID=be2d0fd662166b2e255969dd1181e12c" target="test_blank"&gt;http://www.sap.info/public/INT/int/printout/article/Category-28943c61b1e60d84b-int/3/articlesVersions-32466479756b7ba526/?PHPSESSID=be2d0fd662166b2e255969dd1181e12c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;\[removed by moderator\]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jan Stallkamp on Jun 23, 2008 3:09 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 13:04:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962244#M946481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T13:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962245#M946482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can create total 16 keys..including 1 primary key &amp;amp; 15 secondary key at maximum level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 13:06:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962245#M946482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T13:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962246#M946483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just to make things clear: There are no such things as primary keys! There are &lt;EM&gt;key fields&lt;/EM&gt; and &lt;EM&gt;primary index&lt;/EM&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Key fields are which are marked as key in SE11 by table creation. There could be not more than 15 key fields in a table.&lt;/P&gt;&lt;P&gt;Primary index is the index with all the key fields. This is created automatically by SAP. Secondary indexes are created manually by developers. There is no upper limit for secondary indexes, however it is not worth to create too much, because the optimezer will have hard time to choose the most suitable index. The meaningful upper limit is probably 5-6 secondary indexes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it is clear now&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 13:16:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962246#M946483</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-06-23T13:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962247#M946484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where there's life, there's hope...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 13:22:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962247#M946484</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-06-23T13:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: primary keys</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962248#M946485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes... and in Bangalore everything is possible... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 14:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-keys/m-p/3962248#M946485</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-06-23T14:00:22Z</dc:date>
    </item>
  </channel>
</rss>

