<?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"
	>
<channel>
	<title>Comments on: select last rows</title>
	<atom:link href="http://laurentschneider.com/wordpress/2006/08/select-last-rows.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://laurentschneider.com/wordpress/2006/08/select-last-rows.html</link>
	<description>Oracle Certified Master</description>
	<pubDate>Fri, 09 Jan 2009 00:41:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Laurent Schneider</title>
		<link>http://laurentschneider.com/wordpress/2006/08/select-last-rows.html#comment-6533</link>
		<dc:creator>Laurent Schneider</dc:creator>
		<pubDate>Thu, 01 May 2008 20:00:14 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2006/08/04/select-last-rows/#comment-6533</guid>
		<description>there is not ALTER TABLE, you need to create a new table, with online redefinition if you want</description>
		<content:encoded><![CDATA[<p>there is not ALTER TABLE, you need to create a new table, with online redefinition if you want</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Hunt</title>
		<link>http://laurentschneider.com/wordpress/2006/08/select-last-rows.html#comment-6527</link>
		<dc:creator>Simon Hunt</dc:creator>
		<pubDate>Thu, 01 May 2008 17:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2006/08/04/select-last-rows/#comment-6527</guid>
		<description>Hi Laurent,

I am trying to implement ORA_ROWSCN to control the optimistic locking on my app.  Is it possible to enable row dependencies on an existing table?  or will I need to do an online rebuild?

Simon</description>
		<content:encoded><![CDATA[<p>Hi Laurent,</p>
<p>I am trying to implement ORA_ROWSCN to control the optimistic locking on my app.  Is it possible to enable row dependencies on an existing table?  or will I need to do an online rebuild?</p>
<p>Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent Schneider</title>
		<link>http://laurentschneider.com/wordpress/2006/08/select-last-rows.html#comment-283</link>
		<dc:creator>Laurent Schneider</dc:creator>
		<pubDate>Fri, 04 Aug 2006 23:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2006/08/04/select-last-rows/#comment-283</guid>
		<description>yes, thanks, and also not for uncommited rows if the table has rowdependencies!

SCOTT@LSC01&#62; update t set x=0 where rownum=1;

1 row updated.

SCOTT@LSC01&#62; select ora_rowscn from t where x=0;
ORA_ROWSCN
----------</description>
		<content:encoded><![CDATA[<p>yes, thanks, and also not for uncommited rows if the table has rowdependencies!</p>
<p>SCOTT@LSC01&gt; update t set x=0 where rownum=1;</p>
<p>1 row updated.</p>
<p>SCOTT@LSC01&gt; select ora_rowscn from t where x=0;<br />
ORA_ROWSCN<br />
&#8212;&#8212;&#8212;-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Kyte</title>
		<link>http://laurentschneider.com/wordpress/2006/08/select-last-rows.html#comment-282</link>
		<dc:creator>Thomas Kyte</dc:creator>
		<pubDate>Fri, 04 Aug 2006 23:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2006/08/04/select-last-rows/#comment-282</guid>
		<description>also, it only works for rows updated relatively recently

sys%ORA10GR2&#62; select min(ora_rowscn) from obj$;

MIN(ORA_ROWSCN)
---------------
          18349

sys%ORA10GR2&#62; select scn_to_timestamp(18349) from dual;
select scn_to_timestamp(18349) from dual
       *
ERROR at line 1:
ORA-08181: specified number is not a valid system change number
ORA-06512: at "SYS.SCN_TO_TIMESTAMP", line 1</description>
		<content:encoded><![CDATA[<p>also, it only works for rows updated relatively recently</p>
<p>sys%ORA10GR2&gt; select min(ora_rowscn) from obj$;</p>
<p>MIN(ORA_ROWSCN)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;<br />
          18349</p>
<p>sys%ORA10GR2&gt; select scn_to_timestamp(18349) from dual;<br />
select scn_to_timestamp(18349) from dual<br />
       *<br />
ERROR at line 1:<br />
ORA-08181: specified number is not a valid system change number<br />
ORA-06512: at &#8220;SYS.SCN_TO_TIMESTAMP&#8221;, line 1</p>
]]></content:encoded>
	</item>
</channel>
</rss>
