<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Oracle SQLPlus</title>
	<atom:link href="http://awads.net/wp/2005/08/04/oracle-sqlplus/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<lastBuildDate>Tue, 24 Jan 2012 20:49:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Partha</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/comment-page-1/#comment-52250</link>
		<dc:creator>Partha</dc:creator>
		<pubDate>Mon, 04 Aug 2008 03:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=96#comment-52250</guid>
		<description>&lt;p&gt;Wonderful, colors worked! Good great tipe!  Thanks.
But also I needed the host name to be in my prompt. Any help is greatly appreciated.
thanks
Partha&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Wonderful, colors worked! Good great tipe!  Thanks.
But also I needed the host name to be in my prompt. Any help is greatly appreciated.
thanks
Partha</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/comment-page-1/#comment-52093</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Thu, 24 Apr 2008 04:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=96#comment-52093</guid>
		<description>&lt;p&gt;FARIZA, You can. However, I suggest you use http://forums.oracle.com&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>FARIZA, You can. However, I suggest you use <a href="http://forums.oracle.com" rel="nofollow">http://forums.oracle.com</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: FARIZA</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/comment-page-1/#comment-52091</link>
		<dc:creator>FARIZA</dc:creator>
		<pubDate>Wed, 23 Apr 2008 08:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=96#comment-52091</guid>
		<description>&lt;p&gt;May i ask about Views in Oracle in this forum?&lt;/p&gt;

&lt;p&gt;thank you
-fariza-&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>May i ask about Views in Oracle in this forum?</p>

<p>thank you
-fariza-</p>]]></content:encoded>
	</item>
	<item>
		<title>By: acomplia</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/comment-page-1/#comment-51982</link>
		<dc:creator>acomplia</dc:creator>
		<pubDate>Sat, 16 Feb 2008 19:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=96#comment-51982</guid>
		<description>&lt;p&gt;How to turn on colors?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>How to turn on colors?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: kinzlaw</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/comment-page-1/#comment-51450</link>
		<dc:creator>kinzlaw</dc:creator>
		<pubDate>Wed, 29 Aug 2007 11:41:40 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=96#comment-51450</guid>
		<description>&lt;p&gt;Pradeep, yes I got colors in sqlplus. It&#039;s done via vi&#039;s Ctrl-v to write the escape sequences to the login.sql, and also, the escape sequence is supported by xterm, which is what I use putty to connect to a Linux box(I guess on Windows it would be a different way to do it or just can&#039;t be done). My sqlprompt variable looks like this:
^[[32;47m&amp;_user@&amp;_connect_identifier^[[30m&gt;^[[0;49m
Copy &amp; paste won&#039;t work, you should use vi or other editor which is capable of inputing escape sequences instead to get the &#039;^[&#039;s to the file.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Pradeep, yes I got colors in sqlplus. It&#8217;s done via vi&#8217;s Ctrl-v to write the escape sequences to the login.sql, and also, the escape sequence is supported by xterm, which is what I use putty to connect to a Linux box(I guess on Windows it would be a different way to do it or just can&#8217;t be done). My sqlprompt variable looks like this:
^[[32;47m&amp;_user@&amp;_connect_identifier^[[30m&gt;^[[0;49m
Copy &amp; paste won&#8217;t work, you should use vi or other editor which is capable of inputing escape sequences instead to get the &#8216;^[&#8216;s to the file.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/comment-page-1/#comment-50467</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Mon, 02 Apr 2007 00:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=96#comment-50467</guid>
		<description>&lt;p&gt;Pradeep, this is the first time I&#039;ve ever heard that you can even have a colorful SQLPlus prompt! I do question the &lt;em&gt;need&lt;/em&gt; for color though. That won&#039;t work well with color blind people.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Pradeep, this is the first time I&#8217;ve ever heard that you can even have a colorful SQLPlus prompt! I do question the <em>need</em> for color though. That won&#8217;t work well with color blind people.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Pradeep</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/comment-page-1/#comment-50453</link>
		<dc:creator>Pradeep</dc:creator>
		<pubDate>Fri, 30 Mar 2007 04:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=96#comment-50453</guid>
		<description>&lt;p&gt;Is it possible to add color to the prompt?&lt;/p&gt;

&lt;p&gt;I want different color&#039;s for different environments that I use sqlplus on to distinguish them a bit and also add a bit of color to the whole black and white shell.&lt;/p&gt;

&lt;p&gt;I tried using control characters that work on the OS I&#039;m using but they get simply printed as is.&lt;/p&gt;

&lt;p&gt;Anyone know a wrapper that I can use?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Is it possible to add color to the prompt?</p>

<p>I want different color&#8217;s for different environments that I use sqlplus on to distinguish them a bit and also add a bit of color to the whole black and white shell.</p>

<p>I tried using control characters that work on the OS I&#8217;m using but they get simply printed as is.</p>

<p>Anyone know a wrapper that I can use?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sumi</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/comment-page-1/#comment-6876</link>
		<dc:creator>Sumi</dc:creator>
		<pubDate>Wed, 10 May 2006 10:50:19 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=96#comment-6876</guid>
		<description>&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;I am tring to insert bulk sql statements from syslog-ng into oracle and I find there are more thn 50% lose.&lt;/p&gt;

&lt;p&gt;syslog daemon writes &quot;insert statements&quot; to a FIFO pipe, from this pipe another daemon attempts to push insert statements to sqlplus CLI.&lt;/p&gt;

&lt;p&gt;syslog-ng daemon config&lt;/p&gt;

&lt;p&gt;writes to FIFO pipe /var/run/ora.pipe&lt;/p&gt;

&lt;p&gt;destination d_oracle {
        pipe(&quot;/var/run/ora.pipe&quot;
        template(&quot;ALTER SESSION SET SQL_TRACE = true;\nINSERT INTO syslogentry (hostname, facility, SEVERITY, MSG_SENT_TIME,p
rogram, message,MSG_RCV_TIME) VALUES ( &#039;$HOST&#039;,&#039;$FACILITY&#039;, &#039;$PRIORITY&#039;, to_date(&#039;$MONTH $DAY$ $YEAR $HOUR:$MIN:$SEC&#039;, &#039;mm dd
 yyyy hh24:mi:ss&#039;), &#039;$PROGRAM&#039;, &#039;$MSGONLY&#039;,SYSTIMESTAMP);\ncommit;\n&quot;) template-escape(yes));
};&lt;/p&gt;

&lt;p&gt;we have tried to compare number of event (insert statements) coming on this pipe by writing another script that writes to file.&lt;/p&gt;

&lt;p&gt;pipe to db script&lt;/p&gt;

&lt;p&gt;!/bin/sh&lt;/p&gt;

&lt;p&gt;nohup sqlplus user/pass &lt; /var/run/ora.pipe &gt;&gt; /home/oracle/log.err&lt;/p&gt;

&lt;p&gt;pipe to file script&lt;/p&gt;

&lt;p&gt;!/bin/sh&lt;/p&gt;

&lt;p&gt;nohup cat /var/run/ora.pipe &gt; /logs/debug.log&lt;/p&gt;

&lt;p&gt;number of events in files are almost 10 times more than going in db within a given time slot.&lt;/p&gt;

&lt;p&gt;can any one help me ?&lt;/p&gt;

&lt;p&gt;Regards
Sumit&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi</p>

<p>I am tring to insert bulk sql statements from syslog-ng into oracle and I find there are more thn 50% lose.</p>

<p>syslog daemon writes &#8220;insert statements&#8221; to a FIFO pipe, from this pipe another daemon attempts to push insert statements to sqlplus CLI.</p>

<p>syslog-ng daemon config</p>

<p>writes to FIFO pipe /var/run/ora.pipe</p>

<p>destination d_oracle {
        pipe(&#8220;/var/run/ora.pipe&#8221;
        template(&#8220;ALTER SESSION SET SQL_TRACE = true;\nINSERT INTO syslogentry (hostname, facility, SEVERITY, MSG_SENT_TIME,p
rogram, message,MSG_RCV_TIME) VALUES ( &#8216;$HOST&#8217;,'$FACILITY&#8217;, &#8216;$PRIORITY&#8217;, to_date(&#8216;$MONTH $DAY$ $YEAR $HOUR:$MIN:$SEC&#8217;, &#8216;mm dd
 yyyy hh24:mi:ss&#8217;), &#8216;$PROGRAM&#8217;, &#8216;$MSGONLY&#8217;,SYSTIMESTAMP);\ncommit;\n&#8221;) template-escape(yes));
};</p>

<p>we have tried to compare number of event (insert statements) coming on this pipe by writing another script that writes to file.</p>

<p>pipe to db script</p>

<p>!/bin/sh</p>

<p>nohup sqlplus user/pass &lt; /var/run/ora.pipe &gt;&gt; /home/oracle/log.err</p>

<p>pipe to file script</p>

<p>!/bin/sh</p>

<p>nohup cat /var/run/ora.pipe &gt; /logs/debug.log</p>

<p>number of events in files are almost 10 times more than going in db within a given time slot.</p>

<p>can any one help me ?</p>

<p>Regards
Sumit</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad&#8217;s Blog &#187; Blog Archive &#187; Tom Kyte&#8217;s Newest Book and SQLPlus Prompt</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/comment-page-1/#comment-125</link>
		<dc:creator>Eddie Awad&#8217;s Blog &#187; Blog Archive &#187; Tom Kyte&#8217;s Newest Book and SQLPlus Prompt</dc:creator>
		<pubDate>Fri, 26 Aug 2005 13:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=96#comment-125</guid>
		<description>&lt;p&gt;[...] Related links: My other blog entry about SQL&lt;em&gt;Plus Related entry at Tom&#8217;s blog SQL&lt;/em&gt;PlusÂ® User&#8217;s Guide and Reference          &#160; [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Related links: My other blog entry about SQL<em>Plus Related entry at Tom&#8217;s blog SQL</em>PlusÂ® User&#8217;s Guide and Reference          &nbsp; [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/comment-page-1/#comment-55</link>
		<dc:creator>Eddie</dc:creator>
		<pubDate>Fri, 05 Aug 2005 14:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=96#comment-55</guid>
		<description>&lt;p&gt;Thanks for the tip Alex. Another reason to upgrade to 10g :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for the tip Alex. Another reason to upgrade to 10g <img src='http://awads.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
</channel>
</rss>

