<?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 for OraQA</title>
	<atom:link href="http://oraqa.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://oraqa.com</link>
	<description>Oracle Question and Answer</description>
	<lastBuildDate>Tue, 13 Mar 2012 16:20:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on How to transform a database table dataset into HTML table in SQL by The Power of SQL &#187; Eddie Awad&#39;s Blog</title>
		<link>http://oraqa.com/2012/02/21/how-to-transform-a-database-table-dataset-into-html-table-in-sql/comment-page-1/#comment-333</link>
		<dc:creator>The Power of SQL &#187; Eddie Awad&#39;s Blog</dc:creator>
		<pubDate>Tue, 13 Mar 2012 16:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=639#comment-333</guid>
		<description>[...] How to transform a database table dataset into HTML table in SQL [...]</description>
		<content:encoded><![CDATA[<p>[...] How to transform a database table dataset into HTML table in SQL [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to solve the 3 Digits Plus 3 Digits Puzzle in SQL by Amalendu Pramanik</title>
		<link>http://oraqa.com/2008/11/02/how-to-solve-the-3-digits-plus-3-digits-puzzle-in-sql/comment-page-1/#comment-329</link>
		<dc:creator>Amalendu Pramanik</dc:creator>
		<pubDate>Mon, 19 Dec 2011 14:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=283#comment-329</guid>
		<description>
With
D As(
&#160;&#160;&#160;&#160;&#160;Select RowNum N From Dual Connect By Level&lt;=9
)
,N As(
&#160;&#160;&#160;&#160;&#160;Select Replace(Sys_Connect_By_Path(N,&#039;,&#039;),&#039;,&#039;) N
&#160;&#160;&#160;&#160;&#160;From D
&#160;&#160;&#160;&#160;&#160;Where Level=9
&#160;&#160;&#160;&#160;&#160;Connect By NoCycle N!=Prior N
)
Select SubStr(N,1,3)&#124;&#124;&#039;+&#039;&#124;&#124;SubStr(N,4,3)&#124;&#124;&#039;=&#039;&#124;&#124;SubStr(N,7,3) D
From N Where SubStr(N,1,3)+SubStr(N,4,3)=SubStr(N,7,3)
</description>
		<content:encoded><![CDATA[<p>With<br />
D As(<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select RowNum N From Dual Connect By Level&lt;=9<br />
)<br />
,N As(<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select Replace(Sys_Connect_By_Path(N,&#8217;,'),&#8217;,') N<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;From D<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where Level=9<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connect By NoCycle N!=Prior N<br />
)<br />
Select SubStr(N,1,3)||&#8217;+'||SubStr(N,4,3)||&#8217;='||SubStr(N,7,3) D<br />
From N Where SubStr(N,1,3)+SubStr(N,4,3)=SubStr(N,7,3)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to solve the Find all 3 digit numbers have the digital sum of nine Puzzle in SQL by Amalendu Pramanik</title>
		<link>http://oraqa.com/2008/12/18/how-to-solve-the-find-all-3-digit-numbers-have-the-digital-sum-of-nine-puzzle-in-sql/comment-page-1/#comment-328</link>
		<dc:creator>Amalendu Pramanik</dc:creator>
		<pubDate>Mon, 19 Dec 2011 14:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=309#comment-328</guid>
		<description>
With
D As(
&#160;&#160;&#160;Select 99+RowNum N From Dual Connect By Level&lt;=(999-100)+1
)
Select *
From D
Where N&gt;=100 And N&lt;=999
And SubStr(N,1,1)+SubStr(N,2,1)+SubStr(N,3,1)=9

</description>
		<content:encoded><![CDATA[<p>With<br />
D As(<br />
&nbsp;&nbsp;&nbsp;Select 99+RowNum N From Dual Connect By Level&lt;=(999-100)+1<br />
)<br />
Select *<br />
From D<br />
Where N&gt;=100 And N&lt;=999<br />
And SubStr(N,1,1)+SubStr(N,2,1)+SubStr(N,3,1)=9</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to solve the Find all 3 digit numbers have the digital sum of nine Puzzle in SQL by Amalendu Pramanik</title>
		<link>http://oraqa.com/2008/12/18/how-to-solve-the-find-all-3-digit-numbers-have-the-digital-sum-of-nine-puzzle-in-sql/comment-page-1/#comment-327</link>
		<dc:creator>Amalendu Pramanik</dc:creator>
		<pubDate>Mon, 19 Dec 2011 13:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=309#comment-327</guid>
		<description>With
D As(
	Select 99+RowNum N From Dual Connect By Level=100 And N&lt;=999
And SubStr(N,1,1)+SubStr(N,2,1)+SubStr(N,3,1)=9</description>
		<content:encoded><![CDATA[<p>With<br />
D As(<br />
	Select 99+RowNum N From Dual Connect By Level=100 And N&lt;=999<br />
And SubStr(N,1,1)+SubStr(N,2,1)+SubStr(N,3,1)=9</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to solve the Find all 3 digit numbers have the digital sum of nine Puzzle in SQL by Amalendu Pramanik</title>
		<link>http://oraqa.com/2008/12/18/how-to-solve-the-find-all-3-digit-numbers-have-the-digital-sum-of-nine-puzzle-in-sql/comment-page-1/#comment-326</link>
		<dc:creator>Amalendu Pramanik</dc:creator>
		<pubDate>Mon, 19 Dec 2011 13:47:57 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=309#comment-326</guid>
		<description>&lt;pre&gt;

With
D As(
	Select 99+RowNum N From Dual Connect By Level=100 And N&lt;=999
And SubStr(N,1,1)+SubStr(N,2,1)+SubStr(N,3,1)=9

&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<pre>

With
D As(
	Select 99+RowNum N From Dual Connect By Level=100 And N&lt;=999
And SubStr(N,1,1)+SubStr(N,2,1)+SubStr(N,3,1)=9
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to solve the Find all 3 digit numbers have the digital sum of nine Puzzle in SQL by Amalendu Pramanik</title>
		<link>http://oraqa.com/2008/12/18/how-to-solve-the-find-all-3-digit-numbers-have-the-digital-sum-of-nine-puzzle-in-sql/comment-page-1/#comment-325</link>
		<dc:creator>Amalendu Pramanik</dc:creator>
		<pubDate>Mon, 19 Dec 2011 13:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=309#comment-325</guid>
		<description>&lt;pre&gt;
With
D As(
	Select 99+RowNum N From Dual Connect By Level=100 And N&lt;=999
And SubStr(N,1,1)+SubStr(N,2,1)+SubStr(N,3,1)=9;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<pre>
With
D As(
	Select 99+RowNum N From Dual Connect By Level=100 And N&lt;=999
And SubStr(N,1,1)+SubStr(N,2,1)+SubStr(N,3,1)=9;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to generate sequence numbers between two numbers by sreekumarvg</title>
		<link>http://oraqa.com/2006/01/20/how-to-generate-sequence-numbers-between-two-numbers/comment-page-1/#comment-312</link>
		<dc:creator>sreekumarvg</dc:creator>
		<pubDate>Fri, 19 Aug 2011 12:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/2006/01/20/how-to-generate-sequence-numbers-between-two-numbers/#comment-312</guid>
		<description>SQL&gt; create sequence test_s minvalue 20 maxvalue 26 ;

Sequence created.

SQL&gt; 
SQL&gt; 
SQL&gt; 
SQL&gt; select test_s.nextval from  all_objects where rownum </description>
		<content:encoded><![CDATA[<p>SQL&gt; create sequence test_s minvalue 20 maxvalue 26 ;</p>
<p>Sequence created.</p>
<p>SQL&gt;<br />
SQL&gt;<br />
SQL&gt;<br />
SQL&gt; select test_s.nextval from  all_objects where rownum </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to solve the Find all 3 digit numbers have the digital sum of nine Puzzle in SQL by cszxheap</title>
		<link>http://oraqa.com/2008/12/18/how-to-solve-the-find-all-3-digit-numbers-have-the-digital-sum-of-nine-puzzle-in-sql/comment-page-1/#comment-307</link>
		<dc:creator>cszxheap</dc:creator>
		<pubDate>Thu, 23 Dec 2010 02:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=309#comment-307</guid>
		<description>--the following is my try :)

WITH DATA AS (
SELECT LTRIM(sys_connect_by_path(num,&#039;+&#039;),&#039;+&#039;) str_num,REPLACE(sys_connect_by_path(num,&#039;.&#039;),&#039;.&#039;) str_out
      FROM (SELECT LEVEL-1 num
                      FROM dual
                CONNECT BY LEVEL &lt;= 10)
 WHERE LEVEL = 3
CONNECT BY LEVEL &lt;= 3
)
SELECT s.str_out, decode(ROWNUM,1,COUNT(*) OVER(),NULL) cnt FROM DATA s
WHERE dbms_aw.eval_number(s.str_num) = 9;</description>
		<content:encoded><![CDATA[<p>&#8211;the following is my try :)</p>
<p>WITH DATA AS (<br />
SELECT LTRIM(sys_connect_by_path(num,&#8217;+'),&#8217;+') str_num,REPLACE(sys_connect_by_path(num,&#8217;.'),&#8217;.') str_out<br />
      FROM (SELECT LEVEL-1 num<br />
                      FROM dual<br />
                CONNECT BY LEVEL &lt;= 10)<br />
 WHERE LEVEL = 3<br />
CONNECT BY LEVEL &lt;= 3<br />
)<br />
SELECT s.str_out, decode(ROWNUM,1,COUNT(*) OVER(),NULL) cnt FROM DATA s<br />
WHERE dbms_aw.eval_number(s.str_num) = 9;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to check free space in tablespaces by chanjaljayaram</title>
		<link>http://oraqa.com/2006/02/08/how-to-check-free-space-in-tablespaces/comment-page-1/#comment-305</link>
		<dc:creator>chanjaljayaram</dc:creator>
		<pubDate>Wed, 10 Nov 2010 12:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/2006/02/08/how-to-check-free-space-in-tablespaces/#comment-305</guid>
		<description>Hello Karl,

I think the query needs to be slightly modified as below.

case
when(d.contents = &#039;TEMPORARY&#039;) then
  to_char(nvl(t.bytes / 1024 / 1024, 0),
  &#039;99G999G990D90&#039;, &#039;NLS_NUMERIC_CHARACTERS = &#039;&#039;,.&#039;&#039; &#039;)
else
  to_char(nvl(a.bytes / 1024 / 1024, 0),
  &#039;99G999G990D90&#039;, &#039;NLS_NUMERIC_CHARACTERS = &#039;&#039;,.&#039;&#039; &#039;)
end as &quot;Size (M)&quot;,

** I believe the columns t.bytes and a.bytes were reversed in your query.

- Chanjal</description>
		<content:encoded><![CDATA[<p>Hello Karl,</p>
<p>I think the query needs to be slightly modified as below.</p>
<p>case<br />
when(d.contents = &#8216;TEMPORARY&#8217;) then<br />
  to_char(nvl(t.bytes / 1024 / 1024, 0),<br />
  &#8217;99G999G990D90&#8242;, &#8216;NLS_NUMERIC_CHARACTERS = &#8221;,.&#8221; &#8216;)<br />
else<br />
  to_char(nvl(a.bytes / 1024 / 1024, 0),<br />
  &#8217;99G999G990D90&#8242;, &#8216;NLS_NUMERIC_CHARACTERS = &#8221;,.&#8221; &#8216;)<br />
end as &#8220;Size (M)&#8221;,</p>
<p>** I believe the columns t.bytes and a.bytes were reversed in your query.</p>
<p>- Chanjal</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Create Alphanumeric Sequence in SQL? by oo</title>
		<link>http://oraqa.com/2008/08/10/how-to-create-alphanumeric-sequence-in-sql/comment-page-1/#comment-301</link>
		<dc:creator>oo</dc:creator>
		<pubDate>Sat, 07 Aug 2010 04:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=265#comment-301</guid>
		<description>convert integer number to it&#039;s binary format</description>
		<content:encoded><![CDATA[<p>convert integer number to it&#8217;s binary format</p>
]]></content:encoded>
	</item>
</channel>
</rss>

