<?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 lock table object problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-table-object-problem/m-p/1381744#M186278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, i have a question of locking object. to lock a table, we use two functions to lock and unlock a table. if i use "insert**&lt;STRONG&gt;" clause to update a table, can the enqueue_&lt;/STRONG&gt;** work too? someone told me enqueue_*** can oly lock write access to table while using "update**&lt;STRONG&gt;" clause, but won't work if i use "insert&lt;/STRONG&gt;**" clause, i'm not quite sure of that, anyone got the idear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Jul 2006 03:00:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-08T03:00:03Z</dc:date>
    <item>
      <title>lock table object problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-table-object-problem/m-p/1381744#M186278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, i have a question of locking object. to lock a table, we use two functions to lock and unlock a table. if i use "insert**&lt;STRONG&gt;" clause to update a table, can the enqueue_&lt;/STRONG&gt;** work too? someone told me enqueue_*** can oly lock write access to table while using "update**&lt;STRONG&gt;" clause, but won't work if i use "insert&lt;/STRONG&gt;**" clause, i'm not quite sure of that, anyone got the idear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2006 03:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-table-object-problem/m-p/1381744#M186278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-08T03:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: lock table object problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-table-object-problem/m-p/1381745#M186279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its true, when you lock a table, its going to lock the current data. INSERT statement can still insert new rows into the table and that should not affect the existing data, right? Where as UPDATE will affect the existing data so the lock will not allow the updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers and close the thread if the issue is resolved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2006 03:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-table-object-problem/m-p/1381745#M186279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-08T03:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: lock table object problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-table-object-problem/m-p/1381746#M186280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;got it, thanks. i thought all write access should be forbidden by that lock object before. but if Person A is inserting a record to table, Person B is reading that table, or Person B is deleting records of that table, there will also be inconsistance, right? in that case, how to solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: legend li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2006 03:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-table-object-problem/m-p/1381746#M186280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-08T03:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: lock table object problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-table-object-problem/m-p/1381747#M186281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually any RDBMS will gaurantee the data as in the current state and it will not be right to lock the table for inserting data if some one else is updating a different row. Its not inconsistency, if some one has read the data 1 second before the new record was inserted. Its a matter of timing. When he refreshes the screen he is going to see the new data.&lt;/P&gt;&lt;P&gt;&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>Sat, 08 Jul 2006 03:11:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-table-object-problem/m-p/1381747#M186281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-08T03:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: lock table object problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-table-object-problem/m-p/1381748#M186282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think lock can only work to avoid inconsistance while more than one users are writing to the table:when update or delete, for the two clauses will change the existing entries in table, update will conflict with another update or delete to the same entry, so that is the reason why lock doesn't work while inserting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2006 04:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-table-object-problem/m-p/1381748#M186282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-08T04:55:20Z</dc:date>
    </item>
  </channel>
</rss>

