<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; DBMS_LOCK.SLEEP</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/dbms_locksleep/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 01:12:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to implement Sleep logic not using sleep() need customized</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-implement-sleep-logic-not-using-sleep-need-customized/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-to-implement-sleep-logic-not-using-sleep-need-customized/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 12:45:19 +0000</pubDate>
		<dc:creator>Inprise</dc:creator>
				<category><![CDATA[DBMS_LOCK.SLEEP]]></category>
		<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[PL/SQL block]]></category>
		<category><![CDATA[SLEEP Procedure]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi Experts, I need to implement a sleep logic in a loop i need to check for SELECT/INSERT stm if it s locked by other user i will go to sleep mode then back to earlier savepoint position eg savepoint x; INSERT/SELECT i need to check for 10 times each time sleep is for 1 [...]]]></description>
				<content:encoded><![CDATA[<p>Hi Experts,</p>
<p>I need to implement a sleep logic in a loop </p>
<p>i need to check for SELECT/INSERT stm if it s locked by other user i will go to sleep mode then back to earlier savepoint position</p>
<p>eg</p>
<p>savepoint x;</p>
<p>INSERT/SELECT</p>
<p> i need to check for 10 times each time sleep is for 1 sec </p>
<p>i applied counter i tried the logic </p>
<p>WHILE g_savepoint_loop &lt;= 3<br />
LOOP<br />
g_sleep := &#8217;1&#8242; ;<br />
g_sleep  := g_sleep_in_sec + 1 ;<br />
END LOOP;<br />
ROLLBACK TO x ;</p>
<p>By query here is how to declare g_sleep to 1 sec(datatype ??) ,my logic says wrong type </p>
<p>please guide me</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-to-implement-sleep-logic-not-using-sleep-need-customized/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/12 queries in 0.016 seconds using memcached
Object Caching 321/330 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 09:32:17 -->