<?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: KEYS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185540#M465302</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;A set of fields of a table which would uniquely identify rows of the table is called&lt;/P&gt;&lt;P&gt;Primary key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The word compound as prefix to primary key or foreign key means the same.&lt;/P&gt;&lt;P&gt;If the key contains more than one field its called compound. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foriegn key is something through which you can Refrential entity relationship.&lt;/P&gt;&lt;P&gt;that means how two tables are related. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For examples. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee can work in various departments &lt;/P&gt;&lt;P&gt;But department numbers should exist in department table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so Deptno serves as foreign key between department and employee tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2007 14:34:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-02T14:34:24Z</dc:date>
    <item>
      <title>KEYS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185536#M465298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI TO ALL  CAN U PLS GIVE DETAILED DESCRPTION ON &lt;/P&gt;&lt;P&gt;PLS DONT GIVE ANY SITE LINKS TRY TO GIVE ON UR OWN WORDS &lt;/P&gt;&lt;P&gt;what is the primary key .and tell the purpose of it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; what is the compound foreign key and purpose of it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:23:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185536#M465298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T14:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: KEYS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185537#M465299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Primary key: is the combination of fields in a database table which can help u to identify a unique record in the table, i.e., u can only have 1 record for the combination of primary key fields of a database table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185537#M465299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T14:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: KEYS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185538#M465300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do not use all Capital letters.&lt;/P&gt;&lt;P&gt;It is like shouting. &lt;/P&gt;&lt;P&gt;Primary Key is a unique identifier for a record.&lt;/P&gt;&lt;P&gt;For example, if you are in a class room, and somebody wants to call you, there is a chance that more than one person has the same name. hence name is not a primary key.&lt;/P&gt;&lt;P&gt;If they call by roll number, only one person will respond.&lt;/P&gt;&lt;P&gt;hence roll number is a primary key in this example.&lt;/P&gt;&lt;P&gt;Hope you understand.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185538#M465300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T14:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: KEYS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185539#M465301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Primary key defines a record in a table. So in a table you cannot have more than one record with the same key value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes the value of a field in a table is determined by the values from another table. Or values that field can occupy is limited to values from another table. There&lt;/P&gt;&lt;P&gt;you define foreign key. I am not aware of compound foreign key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185539#M465301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T14:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: KEYS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185540#M465302</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;A set of fields of a table which would uniquely identify rows of the table is called&lt;/P&gt;&lt;P&gt;Primary key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The word compound as prefix to primary key or foreign key means the same.&lt;/P&gt;&lt;P&gt;If the key contains more than one field its called compound. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foriegn key is something through which you can Refrential entity relationship.&lt;/P&gt;&lt;P&gt;that means how two tables are related. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For examples. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee can work in various departments &lt;/P&gt;&lt;P&gt;But department numbers should exist in department table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so Deptno serves as foreign key between department and employee tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185540#M465302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T14:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: KEYS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185541#M465303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Foreign keys are used as check tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppos ethere is a table to enter a students marks. ZSTUDMARK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fields are like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;student id&lt;/P&gt;&lt;P&gt;subject code&lt;/P&gt;&lt;P&gt;session&lt;/P&gt;&lt;P&gt;marks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose when sombody key in data,  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they shud not enter junk like 123 for student code.  when someone key in syudent code, 3456, there shud be such a student code existing in the student master table say ZSTUDENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to make sur ethat, entries in ZSTUDMARK student id column are valid, this column of ZSUDMARK shud have a check table  . and this check table must be, ZSTUDENT-STUDENTID.    this relation is called foreign key &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly when some onter a subject it shud be a valid subject , and that shud be verified against zstsubject table which have subject codes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 14:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keys/m-p/2185541#M465303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T14:35:04Z</dc:date>
    </item>
  </channel>
</rss>

