<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Non-Shared Temp Tables Cleanup</title>
	<atom:link href="http://workingscripts.com/2008/03/nonshared-temp-tables-cleanup/feed/" rel="self" type="application/rss+xml" />
	<link>http://workingscripts.com/2008/03/nonshared-temp-tables-cleanup/</link>
	<description>The Stuff that Just Works</description>
	<lastBuildDate>Sun, 04 Dec 2011 00:40:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Iouri Chadour</title>
		<link>http://workingscripts.com/2008/03/nonshared-temp-tables-cleanup/comment-page-1/#comment-149</link>
		<dc:creator>Iouri Chadour</dc:creator>
		<pubDate>Sat, 24 Sep 2011 23:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/?p=42#comment-149</guid>
		<description>This actually may be a great idea - can&#039;t see any downsides to this one - thank you</description>
		<content:encoded><![CDATA[<p>This actually may be a great idea &#8211; can&#8217;t see any downsides to this one &#8211; thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iouri Chadour</title>
		<link>http://workingscripts.com/2008/03/nonshared-temp-tables-cleanup/comment-page-1/#comment-148</link>
		<dc:creator>Iouri Chadour</dc:creator>
		<pubDate>Sat, 24 Sep 2011 23:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/?p=42#comment-148</guid>
		<description>as processes execute a they will populate this table with tables that they are currently using, in case you execute a generic SQL like you mentioned this may unlock some of those table for use and cause trouble in case some other contending process may try and use them</description>
		<content:encoded><![CDATA[<p>as processes execute a they will populate this table with tables that they are currently using, in case you execute a generic SQL like you mentioned this may unlock some of those table for use and cause trouble in case some other contending process may try and use them</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trybik</title>
		<link>http://workingscripts.com/2008/03/nonshared-temp-tables-cleanup/comment-page-1/#comment-147</link>
		<dc:creator>Trybik</dc:creator>
		<pubDate>Thu, 08 Sep 2011 14:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/?p=42#comment-147</guid>
		<description>Or, if you are afraid of currently running processes, you could use something like this:

UPDATE PS_TEMP_TBL_ASGNM SET
	in_use_sw=&#039;N&#039;,
    process_instance=0
WHERE process_instance IN 
(
  	SELECT prcsinstance FROM psprcsrqst 
	WHERE runstatus NOT IN (5, 7)	
); 

— is there anything wrong with this approach?</description>
		<content:encoded><![CDATA[<p>Or, if you are afraid of currently running processes, you could use something like this:</p>
<p>UPDATE PS_TEMP_TBL_ASGNM SET<br />
	in_use_sw=&#8217;N',<br />
    process_instance=0<br />
WHERE process_instance IN<br />
(<br />
  	SELECT prcsinstance FROM psprcsrqst<br />
	WHERE runstatus NOT IN (5, 7)<br />
); </p>
<p>— is there anything wrong with this approach?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trybik</title>
		<link>http://workingscripts.com/2008/03/nonshared-temp-tables-cleanup/comment-page-1/#comment-146</link>
		<dc:creator>Trybik</dc:creator>
		<pubDate>Thu, 08 Sep 2011 14:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/?p=42#comment-146</guid>
		<description>Why not just running a more general:

update PS_TEMP_TBL_ASGNM set
in_use_sw=&#039;N&#039;,
process_instance=0</description>
		<content:encoded><![CDATA[<p>Why not just running a more general:</p>
<p>update PS_TEMP_TBL_ASGNM set<br />
in_use_sw=&#8217;N',<br />
process_instance=0</p>
]]></content:encoded>
	</item>
</channel>
</rss>

