<?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: 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>
	<pubDate>Wed, 09 Jul 2008 00:51:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/#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>FARIZA, You can. However, I suggest you use http://forums.oracle.com</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-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>May i ask about Views in Oracle in this forum?

thank you
-fariza-</description>
		<content:encoded><![CDATA[<p>May i ask about Views in Oracle in this forum?</p>
<p>thank you<br />
-fariza-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: acomplia</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/#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>How to turn on colors?</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-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's done via vi'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't be done). My sqlprompt variable looks like this:
^[[32;47m&#38;_user@&#38;_connect_identifier^[[30m&#62;^[[0;49m
Copy &#38; paste won't work, you should use vi or other editor which is capable of inputing escape sequences instead to get the '^['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:<br />
^[[32;47m&amp;_user@&amp;_connect_identifier^[[30m&gt;^[[0;49m<br />
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;^[&#8217;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-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'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'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-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'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'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-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 "insert statements" 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("/var/run/ora.pipe"
        template("ALTER SESSION SET SQL_TRACE = true;\nINSERT INTO syslogentry (hostname, facility, SEVERITY, MSG_SENT_TIME,p
rogram, message,MSG_RCV_TIME) VALUES ( '$HOST','$FACILITY', '$PRIORITY', to_date('$MONTH $DAY$ $YEAR $HOUR:$MIN:$SEC', 'mm dd
 yyyy hh24:mi:ss'), '$PROGRAM', '$MSGONLY',SYSTIMESTAMP);\ncommit;\n") 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;

!/bin/sh

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

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

!/bin/sh

&lt;p&gt;nohup cat /var/run/ora.pipe &#62; /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 {<br />
        pipe(&#8221;/var/run/ora.pipe&#8221;<br />
        template(&#8221;ALTER SESSION SET SQL_TRACE = true;\nINSERT INTO syslogentry (hostname, facility, SEVERITY, MSG_SENT_TIME,p<br />
rogram, message,MSG_RCV_TIME) VALUES ( &#8216;$HOST&#8217;,'$FACILITY&#8217;, &#8216;$PRIORITY&#8217;, to_date(&#8217;$MONTH $DAY$ $YEAR $HOUR:$MIN:$SEC&#8217;, &#8216;mm dd<br />
 yyyy hh24:mi:ss&#8217;), &#8216;$PROGRAM&#8217;, &#8216;$MSGONLY&#8217;,SYSTIMESTAMP);\ncommit;\n&#8221;) template-escape(yes));<br />
};</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<br />
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-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>[...] Related links: My other blog entry about SQL*Plus Related entry at Tom&#8217;s blog SQL*PlusÂ® User&#8217;s Guide and Reference          &#160; [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Related links: My other blog entry about SQL*Plus Related entry at Tom&#8217;s blog SQL*PlusÂ® User&#8217;s Guide and Reference          &nbsp; [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/#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>Thanks for the tip Alex. Another reason to upgrade to 10g :)</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>
	<item>
		<title>By: Alex Nuijten</title>
		<link>http://awads.net/wp/2005/08/04/oracle-sqlplus/#comment-50</link>
		<dc:creator>Alex Nuijten</dc:creator>
		<pubDate>Fri, 05 Aug 2005 08:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=96#comment-50</guid>
		<description>In 10g, it gets even easier: 

set sqlprompt `'_user@_connect_identifier &gt; '`

&lt;a href="http://download-west.oracle.com/docs/cd/B14117_01/server.101/b12170/ch13.htm#sthref2183" rel="nofollow"&gt; SQL*Plus Command Reference&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>In 10g, it gets even easier: </p>
<p>set sqlprompt `&#8217;_user@_connect_identifier > &#8216;`</p>
<p><a href="http://download-west.oracle.com/docs/cd/B14117_01/server.101/b12170/ch13.htm#sthref2183" rel="nofollow"> SQL*Plus Command Reference</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
