<?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/1905074#M377362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  Primary key  : The field which is Unique and not null is called the Primary Key field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foreign Key :  To establish the relations between 2 tables the same key kield in another table is the Foreign key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foreign key can or can not be Unique and not-null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2007 06:44:30 GMT</pubDate>
    <dc:creator>sreeramkumar_madisetty</dc:creator>
    <dc:date>2007-03-01T06:44:30Z</dc:date>
    <item>
      <title>primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905072#M377360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;what is primarykry and forignkey.&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;radhakrishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 06:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905072#M377360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T06:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905073#M377361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Primary key is the UNIQUE key in each and every table.&lt;/P&gt;&lt;P&gt;There won't be duplicates and NULL values for this.&lt;/P&gt;&lt;P&gt;Foreign key means it is a  key in one table and a Primary key in other table.&lt;/P&gt;&lt;P&gt;In the first table you have to define the relationship with that second table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 06:43:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905073#M377361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T06:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905074#M377362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  Primary key  : The field which is Unique and not null is called the Primary Key field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foreign Key :  To establish the relations between 2 tables the same key kield in another table is the Foreign key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foreign key can or can not be Unique and not-null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 06:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905074#M377362</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-03-01T06:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905075#M377363</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 can check the link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&amp;amp;" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&amp;amp;&lt;/A&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 06:45:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905075#M377363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T06:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905076#M377364</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;GO THROUGH THE BELOW LINKS...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://dev.mysql.com/doc/maxdb/en/c3/4533403b292b22e10000000a1550b0/content.htm" target="test_blank"&gt;http://dev.mysql.com/doc/maxdb/en/c3/4533403b292b22e10000000a1550b0/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2975824"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 06:46:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905076#M377364</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-03-01T06:46: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/1905077#M377365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Primary key : The field which is Unique and not null is called the Primary Key field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define the relationships between tables in the ABAP Dictionary by creating foreign keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using foreign keys, you can easily create value checks for input fields&lt;/P&gt;&lt;P&gt; foreign key links two tables T1 and T2 by assigning fields of table T1 to the primary key fields of table T2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for detailed info:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea77446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea77446011d189700000e8322d00/content.htm&lt;/A&gt;&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;keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 06:49:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905077#M377365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T06:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905078#M377366</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;Primary key is the identity of a table in which it is defined..i mean every table has atleast one primary key with primary index (0). A table without this key is not said to be a complete table becoz other tables cannot be related with this table if it does not hav a primary key. The relationship isdefined wtih Foriegn key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: tab1 has f1 as its primary key and f2 f3 has its secondary keys. and tab2 has f2 as its primary key and f4 f5 as its secondary keys. To relate these tables..Foriegn key is defined. Also without a foriegn key, two tables can be related if both of them has the key in common. In this case, f2 is the common key between them. If there is no common keys, then foriegn key(S) are created and the relationship is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you're fetching data from tab1..then it becoms the check table as it has f2 as the secondary key and tab2 becomes the check table as it has f2 as primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;shamim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 06:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1905078#M377366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T06:53:18Z</dc:date>
    </item>
  </channel>
</rss>

