<?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 key in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227904#M769946</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;In a table we can have only one primary key combination.that primary key combination can be formed from 16 fields. (these primary key fields should be together and in the first part.after wards only non-primary key fields should be included.otherwise error will get ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we cant assign more than 16 fields to primary key combination in datbase table in sap in 4.6 C version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried the same thing.It will not take more than 16 fields.Log wil be generateg you can see there error very clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table ZDEPT has more than 16 key fields (violates SAA standard )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Sivaparvathi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please dont forget to reward  points if helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Siva Parvathi on Jan 4, 2008 2:41 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2008 13:40:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-04T13:40:28Z</dc:date>
    <item>
      <title>Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227898#M769940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a database table maximum how many primary keys can we have?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 09:40:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227898#M769940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T09:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227899#M769941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this link..&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdb.org/7.4/sap_db_features.htm" target="test_blank"&gt;http://www.sapdb.org/7.4/sap_db_features.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 09:46:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227899#M769941</guid>
      <dc:creator>former_member188829</dc:creator>
      <dc:date>2008-01-04T09:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227900#M769942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A table always can have only one primary key. May be number of fields of a table be the part of primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If number of fields are there as primary key then it is called combined primary key, but combination of all fields work as if one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 10:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227900#M769942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T10:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227901#M769943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paromita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that it is version dependent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SAP DB version 7.4 the default maximum number of primary key columns is 512 per table.&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;&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 10:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227901#M769943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T10:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227902#M769944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;each table can have only one primary key&lt;/P&gt;&lt;P&gt;it is a possibility thta one or more fields make that primary key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 10:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227902#M769944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T10:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227903#M769945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi paromita&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a table can have only 1 primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Shivika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 11:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227903#M769945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T11:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227904#M769946</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;In a table we can have only one primary key combination.that primary key combination can be formed from 16 fields. (these primary key fields should be together and in the first part.after wards only non-primary key fields should be included.otherwise error will get ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we cant assign more than 16 fields to primary key combination in datbase table in sap in 4.6 C version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried the same thing.It will not take more than 16 fields.Log wil be generateg you can see there error very clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table ZDEPT has more than 16 key fields (violates SAA standard )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Sivaparvathi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please dont forget to reward  points if helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Siva Parvathi on Jan 4, 2008 2:41 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 13:40:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227904#M769946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T13:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227905#M769947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="420350"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 21:03:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227905#M769947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T21:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227906#M769948</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;u will have any no. of primary key fields in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 08:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227906#M769948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T08:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227907#M769949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;Paromitha Roy&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;  It is not depending on the fields it is depends on length you can check the fields as key fields up to the sum off these field length is equal to 120.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: your can create table with 16 key fields and the total length is not greaterthan 120.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzz Reward if is useful,&lt;/P&gt;&lt;P&gt;Mahi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 09:12:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227907#M769949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T09:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227908#M769950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a table has only one primary key... but it can bea combination of more than one key fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 09:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227908#M769950</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-01-07T09:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227909#M769951</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;In relational database design, a unique key or primary key is a candidate key to uniquely identify each row in a table. A unique key or primary key comprises a single column or set of columns. No two distinct rows in a table can have the same value (or combination of values) in those columns. Depending on its design, a table may have arbitrarily many unique keys but at most one primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A unique key must uniquely identify all possible rows that exist in a table and not only the currently existing rows. Examples of unique keys are Social Security numbers (associated with a specific person) or ISBNs (associated with a specific book). Telephone books and dictionaries cannot use names or words or Dewey Decimal system numbers as candidate keys because they do not uniquely identify telephone numbers or words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A primary key is a special case of unique keys. The major difference is that for unique keys the implicit NOT NULL constraint is not automatically enforced, while for primary keys it is. Thus, the values in a unique key columns may or may not be NULL. Another difference is that primary keys must be defined using another syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relational model, as expressed through relational calculus and relational algebra, does not distinguish between primary keys and other kinds of keys. Primary keys were added to the SQL standard mainly as a convenience to the application programmer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vasavi.&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 08:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227909#M769951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T08:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227910#M769952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi paromita Roy Chowdhury,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the no of primary keys is purely version dependent.&lt;/P&gt;&lt;P&gt;the no of primary keys we assume depends on our requirement,the case&lt;/P&gt;&lt;P&gt;where we use more than one primary key is called a candidate key.&lt;/P&gt;&lt;P&gt;a candidate key can be simply explained as a group of columns&lt;/P&gt;&lt;P&gt;which uniquely identifies the table or a row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SAP DB version 7.4 the default maximum number of primary key columns is 512 per table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; plz reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt; Srikanth Tulasi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 14:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227910#M769952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T14:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227911#M769953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to BSP and ABAP so there are a couple of things that I'm not sure I understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table whose primary key is a combination of 2 fields, one from the table itself and the other comes from another table. I use the RSDMD_WRITE_ATTRIBUTES_TEXTS function (twice : first for the M tabclass and then for the T tabclass) when I need to update a record except that my update do weird things. Example (the first two fields are the primary keys) : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;Record # 1 : (IIII, 2009, xxxx)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;Record # 2 : (IIII, 2000, yeye)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;Record # 3 : (IIII, 2005, nono)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I modify the text field of record # 1 from xxxx to abcd, the text field of the three records is updated as well to abcd!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me on that?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dimple&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 09:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227911#M769953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T09:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227912#M769954</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;&lt;/P&gt;&lt;P&gt;You can specify the primary key for your container-managed entity bean when you create the bean, or later when you develop the bean business logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bean&amp;#146;s primary key can be a:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Simple primary key &amp;#150; consists of one persistent field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Compound primary key &amp;#150; consists of several persistent fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Unknown primary key &amp;#150; the primary key is unknown for the bean provider; at runtime the EJB Container generates automatically the values for that primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 04:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227912#M769954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T04:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227913#M769955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paramoita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any table can have only one primary key.&lt;/P&gt;&lt;P&gt;But the number of fields in a primary key can be more than 1.&lt;/P&gt;&lt;P&gt;If the primary key of a table has only 1 field,then it is a single primary key.&lt;/P&gt;&lt;P&gt;If the primary key of a table contains more than one field in combination,then it is called as a composite primary key.&lt;/P&gt;&lt;P&gt;The maximum number of fields in a primary key is version dependent.For example it is 512 primary key fields for a table in SAP DB version 7.4 .&lt;/P&gt;&lt;P&gt;The number of fields in a composite primary key also depends on the length of the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if usefull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kashyap Ivaturi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:54:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227913#M769955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T12:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227914#M769956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parmita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  In 4.6c version primary keys is 16.&lt;/P&gt;&lt;P&gt;                  Above 5.0 version primary keys allowed is 532.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 13:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227914#M769956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T13:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227915#M769957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can create max of  512 Primary key columns in a Table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 12:30:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227915#M769957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T12:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227916#M769958</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;there is no LIMIT for primary keys &lt;/P&gt;&lt;P&gt;you can have any number of PRIMARY KEYS in a table &lt;/P&gt;&lt;P&gt;it will improve the performance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 12:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227916#M769958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T12:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227917#M769959</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;All the key fields of a table must be stored together at the beginning of the table. A non-key field may not occur between two key fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A maximum of 16 key fields per table is permitted. The maximum length of the table key is 255. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the key length is greater than 120, there are restrictions when transporting table entries. The key can only be specified up to a maximum of 120 places in a transport. If the key is larger than 120, table entries must be transported generically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table may not have more than 249 fields. The sum of all field lengths is limited to 1962 (whereby fields with data type LRAW and LCHR are not counted). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields of types LRAW or LCHR must be at the end of the table. Only one such field is allowed per table. There must also be a field of type INT2 directly in front of such a field. The actual length of the field can be entered there by the database interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 18:30:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/3227917#M769959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T18:30:37Z</dc:date>
    </item>
  </channel>
</rss>

