<?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/1910716#M379131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh yes you can &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;it doesnt even have to be uinque, tho in that case he´s doing your modifications to the first recors matching the requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so yeah it will work but make sure the values in your appended field are really unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2007 12:55:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-22T12:55:11Z</dc:date>
    <item>
      <title>primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1910712#M379127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frnds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a custom table with primary key field A, this program is used by many programs based on the primary key and they are in production. Now my requirement is I need to add new field to the table which should be unique.&lt;/P&gt;&lt;P&gt;1. what should i do in this case to create a new field?&lt;/P&gt;&lt;P&gt;2. Does creating secondary index will solve my problem?&lt;/P&gt;&lt;P&gt;3.  If i create a new field with secondary index with unique key. Can i modify or delete a record based on the secodary index in my new program which i am going to write?. I mean my question is can we modify primary key based on the secondary key?&lt;/P&gt;&lt;P&gt;3 Is there any way other than secondary index?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 03:16:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1910712#M379127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T03:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1910713#M379128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The concept of Primary Key and Secondary Index are different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;when u r fetching data from from data base , in the select query to make fast retrival we use primary keys in selection if we useing fields other than primary keys fetching time is slow compartively using primary keys , so we will make/create  the non-primary key fields as Secondary Index to make fast retrival...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; primary keys to make unique records in data base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so u have to decide weather you require extra field (one more field in primary keys) which will not effect another programs...then u can add...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 06:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1910713#M379128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T06:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1910714#M379129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;forget indexes...those are used only for accessing data fast...&lt;/P&gt;&lt;P&gt;nw u hav to add ur new field in the primary key ... for this just add a new field in the primary key are ...but u hav to change ur proogram too accordingly .. it miet give u an error...plz. look into the program too after chaging the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help&lt;/P&gt;&lt;P&gt;bbye tc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashwani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 07:48:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1910714#M379129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T07:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1910715#M379130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my question i am having a primary key in the table. now i want to add another field to the table and that should be unique. So based on this unique key value can i modify the primary key value.&lt;/P&gt;&lt;P&gt;for example can i delete the record based on the secondary unique value&lt;/P&gt;&lt;P&gt;and can i modify the record(including primary key value) based on the secondary unique value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 12:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1910715#M379130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T12:47: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/1910716#M379131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh yes you can &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;it doesnt even have to be uinque, tho in that case he´s doing your modifications to the first recors matching the requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so yeah it will work but make sure the values in your appended field are really unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 12:55:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key/m-p/1910716#M379131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T12:55:11Z</dc:date>
    </item>
  </channel>
</rss>

