<?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>
	<pubDate>Sat, 04 Jul 2009 02:42:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Create Alphanumeric Sequence in SQL? by Laurent Schneider</title>
		<link>http://oraqa.com/2008/08/10/how-to-create-alphanumeric-sequence-in-sql/comment-page-1/#comment-248</link>
		<dc:creator>Laurent Schneider</dc:creator>
		<pubDate>Mon, 11 Aug 2008 09:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=265#comment-248</guid>
		<description>if you like a Base64 format, maybe this...
&lt;pre&gt;
select 
    utl_raw.cast_to_varchar2(
      utl_encode.base64_encode(
        utl_raw.cast_from_binary_integer(
          lsc_s.nextval
        )
      )
    )
from dual;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>if you like a Base64 format, maybe this&#8230;</p>
<pre>
select
    utl_raw.cast_to_varchar2(
      utl_encode.base64_encode(
        utl_raw.cast_from_binary_integer(
          lsc_s.nextval
        )
      )
    )
from dual;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Create Alphanumeric Sequence in SQL? by hsafra</title>
		<link>http://oraqa.com/2008/08/10/how-to-create-alphanumeric-sequence-in-sql/comment-page-1/#comment-247</link>
		<dc:creator>hsafra</dc:creator>
		<pubDate>Mon, 11 Aug 2008 06:53:16 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=265#comment-247</guid>
		<description>You need to give more specs for the question: What letter are acceptable? What letters aren't? Do you need special ordering? What about gaps?

I'd wrap an Oracle sequence in a function that translates the number from the sequence to a string using the specs you need.</description>
		<content:encoded><![CDATA[<p>You need to give more specs for the question: What letter are acceptable? What letters aren&#8217;t? Do you need special ordering? What about gaps?</p>
<p>I&#8217;d wrap an Oracle sequence in a function that translates the number from the sequence to a string using the specs you need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Regarding Sequence Numbers by ragunathansd</title>
		<link>http://oraqa.com/2008/08/03/regarding-sequence-numbers/comment-page-1/#comment-246</link>
		<dc:creator>ragunathansd</dc:creator>
		<pubDate>Tue, 05 Aug 2008 14:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=264#comment-246</guid>
		<description>I am not inserting sequence numbers from database. I need to populate the data in a grid. If a user deletes a row from the grid, the consecutive rows should be updated so that the sequence remains the same. I dont want the gap in the sequence.

Can anyone help?</description>
		<content:encoded><![CDATA[<p>I am not inserting sequence numbers from database. I need to populate the data in a grid. If a user deletes a row from the grid, the consecutive rows should be updated so that the sequence remains the same. I dont want the gap in the sequence.</p>
<p>Can anyone help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How Do I Verify that the Redo File is Being Used? by gamyers</title>
		<link>http://oraqa.com/2008/08/03/redo-log/comment-page-1/#comment-245</link>
		<dc:creator>gamyers</dc:creator>
		<pubDate>Mon, 04 Aug 2008 23:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=263#comment-245</guid>
		<description>"redo log file gets full"
That is the nature of a redo log file. It gets full, switched and (hopefully) archived.
If you mean that running the procedure through SQL*Plus generates less redo than running the same procedure through an application server, then there's probably a difference in the session settings between the two.
"So I changed the logging property of the table to no so that it doesn’t write anything in redo log"
No you didn't. Updates and deletes ALWAYS get redo generated. Multi-row Inserts (ie not using the VALUES clause of the INSERT statement) with the APPEND hint may reduce the redo generated for the statement.

Forget about the redo. Work out what the procedure is doing in the app server mode that it doesn't do in the SQL*Plus mode.</description>
		<content:encoded><![CDATA[<p>&#8220;redo log file gets full&#8221;<br />
That is the nature of a redo log file. It gets full, switched and (hopefully) archived.<br />
If you mean that running the procedure through SQL*Plus generates less redo than running the same procedure through an application server, then there&#8217;s probably a difference in the session settings between the two.<br />
&#8220;So I changed the logging property of the table to no so that it doesn’t write anything in redo log&#8221;<br />
No you didn&#8217;t. Updates and deletes ALWAYS get redo generated. Multi-row Inserts (ie not using the VALUES clause of the INSERT statement) with the APPEND hint may reduce the redo generated for the statement.</p>
<p>Forget about the redo. Work out what the procedure is doing in the app server mode that it doesn&#8217;t do in the SQL*Plus mode.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Scan and Save Images into Oracle Database? by gamyers</title>
		<link>http://oraqa.com/2008/08/03/scan-and-save-images/comment-page-1/#comment-244</link>
		<dc:creator>gamyers</dc:creator>
		<pubDate>Mon, 04 Aug 2008 22:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=262#comment-244</guid>
		<description>Firstly, do you mean Oracle Database 10g, or is this a Forms environment ?
Secondly, what do you mean "without user interaction". Since you say 'scan', I assume this photograph is a physical object (not a digital photograph). As such, at some point a user will need to do something with it (ie put it in/on the scanner and press some button somewhere that will, in some way, tell the scanner that there is something to scan).
So the first step is, how do I physically operate that scanner to get a file containing a digital record of that image.
The second step is, how/where can I put that file such that it can be accessed by the database (which depends on the network connectivity of the scanner and/or computer it is connected to).
You could consider an XDB repository set up as a WebDav folder accessible to that machine. Then simply saving or moving that file to that directory will save it in the database.
Otherwise you'll need some form of folder accessible to the database (directly or through a protocol such as FTP) where it can read the directory and read the files contained in it.</description>
		<content:encoded><![CDATA[<p>Firstly, do you mean Oracle Database 10g, or is this a Forms environment ?<br />
Secondly, what do you mean &#8220;without user interaction&#8221;. Since you say &#8217;scan&#8217;, I assume this photograph is a physical object (not a digital photograph). As such, at some point a user will need to do something with it (ie put it in/on the scanner and press some button somewhere that will, in some way, tell the scanner that there is something to scan).<br />
So the first step is, how do I physically operate that scanner to get a file containing a digital record of that image.<br />
The second step is, how/where can I put that file such that it can be accessed by the database (which depends on the network connectivity of the scanner and/or computer it is connected to).<br />
You could consider an XDB repository set up as a WebDav folder accessible to that machine. Then simply saving or moving that file to that directory will save it in the database.<br />
Otherwise you&#8217;ll need some form of folder accessible to the database (directly or through a protocol such as FTP) where it can read the directory and read the files contained in it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Regarding Sequence Numbers by Eddie Awad</title>
		<link>http://oraqa.com/2008/08/03/regarding-sequence-numbers/comment-page-1/#comment-243</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Sun, 03 Aug 2008 22:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=264#comment-243</guid>
		<description>Are you inserting sequence numbers, from a sequence database object, into the table's primary key? Why do you care about having, or not having, gaps in the sequence?</description>
		<content:encoded><![CDATA[<p>Are you inserting sequence numbers, from a sequence database object, into the table&#8217;s primary key? Why do you care about having, or not having, gaps in the sequence?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Blocking IP Address from Logging on to Database Server? by austrin</title>
		<link>http://oraqa.com/2008/07/20/blocking-the-ip-address/comment-page-1/#comment-242</link>
		<dc:creator>austrin</dc:creator>
		<pubDate>Sat, 26 Jul 2008 17:48:47 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=261#comment-242</guid>
		<description>One option would be to use a logon-trigger in combination with evaluating SYS_CONTEXT('USERENV','IP_ADDRESS').</description>
		<content:encoded><![CDATA[<p>One option would be to use a logon-trigger in combination with evaluating SYS_CONTEXT(&#8217;USERENV&#8217;,'IP_ADDRESS&#8217;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Blocking IP Address from Logging on to Database Server? by hsafra</title>
		<link>http://oraqa.com/2008/07/20/blocking-the-ip-address/comment-page-1/#comment-241</link>
		<dc:creator>hsafra</dc:creator>
		<pubDate>Sun, 20 Jul 2008 18:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=261#comment-241</guid>
		<description>You can use TCP.EXCLUDED_NODES in the sqlnet.ora file on the server.</description>
		<content:encoded><![CDATA[<p>You can use TCP.EXCLUDED_NODES in the sqlnet.ora file on the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Can I dynamically generate PDF documents from data stored in an Oracle database? by pilooz</title>
		<link>http://oraqa.com/2006/04/06/can-i-dynamically-generate-pdf-documents-from-data-stored-in-an-oracle-database/comment-page-1/#comment-240</link>
		<dc:creator>pilooz</dc:creator>
		<pubDate>Mon, 07 Jul 2008 13:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/2006/04/06/can-i-dynamically-generate-pdf-documents-from-data-stored-in-an-oracle-database/#comment-240</guid>
		<description>Hi,
There is as free pl/sql package which generates PDF Documents from Oracle DB : 
see http://reseau.erasme.org/PL-FPDF,1337
It seems to very recent.

Hth</description>
		<content:encoded><![CDATA[<p>Hi,<br />
There is as free pl/sql package which generates PDF Documents from Oracle DB :<br />
see <a href="http://reseau.erasme.org/PL-FPDF,1337" rel="nofollow">http://reseau.erasme.org/PL-FPDF,1337</a><br />
It seems to very recent.</p>
<p>Hth</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to determine if the formula string contains balanced pairs of parentheses in SQL by Frank Zhou</title>
		<link>http://oraqa.com/2008/06/08/how-to-determine-if-the-formula-string-contains-balanced-pairs-of-parentheses-in-sql/comment-page-1/#comment-239</link>
		<dc:creator>Frank Zhou</dc:creator>
		<pubDate>Tue, 10 Jun 2008 14:20:08 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/?p=258#comment-239</guid>
		<description>Gmyers,
     
       Your simpler method doesn't work,
it didn't put all cases into consideration.

For example when str_num = '1+)2+(3+4'


SQL&gt; select str_num,
  2  case when length(replace(str_num,')')) = length(replace(str_num,'('))
  3  then 'T' else 'F' end bal
  4  from ( select '1+)2+(3+4' str_num from dual);

STR_NUM   BAL
--------- -----
1+)2+(3+4 T

The correct answer should be "F".

Frank</description>
		<content:encoded><![CDATA[<p>Gmyers,</p>
<p>       Your simpler method doesn&#8217;t work,<br />
it didn&#8217;t put all cases into consideration.</p>
<p>For example when str_num = &#8216;1+)2+(3+4&#8242;</p>
<p>SQL&gt; select str_num,<br />
  2  case when length(replace(str_num,&#8217;)')) = length(replace(str_num,&#8217;('))<br />
  3  then &#8216;T&#8217; else &#8216;F&#8217; end bal<br />
  4  from ( select &#8216;1+)2+(3+4&#8242; str_num from dual);</p>
<p>STR_NUM   BAL<br />
&#8212;&#8212;&#8212; &#8212;&#8211;<br />
1+)2+(3+4 T</p>
<p>The correct answer should be &#8220;F&#8221;.</p>
<p>Frank</p>
]]></content:encoded>
	</item>
</channel>
</rss>
