<?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 on: Sqlplus is my second home, part 5: Reading the name of currently executing script</title>
	<atom:link href="http://blog.tanelpoder.com/2007/12/26/sqlplus-is-my-second-home-part-5-reading-the-name-of-currently-executing-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tanelpoder.com/2007/12/26/sqlplus-is-my-second-home-part-5-reading-the-name-of-currently-executing-script/</link>
	<description>Oracle troubleshooting, internals and performance tuning</description>
	<lastBuildDate>Wed, 10 Mar 2010 08:52:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: tanelp</title>
		<link>http://blog.tanelpoder.com/2007/12/26/sqlplus-is-my-second-home-part-5-reading-the-name-of-currently-executing-script/comment-page-1/#comment-240</link>
		<dc:creator>tanelp</dc:creator>
		<pubDate>Wed, 30 Jul 2008 12:02:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/12/26/sqlplus-is-my-second-home-part-5-reading-the-name-of-currently-executing-script/#comment-240</guid>
		<description>cool, thanks!</description>
		<content:encoded><![CDATA[<p>cool, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taimo</title>
		<link>http://blog.tanelpoder.com/2007/12/26/sqlplus-is-my-second-home-part-5-reading-the-name-of-currently-executing-script/comment-page-1/#comment-238</link>
		<dc:creator>Taimo</dc:creator>
		<pubDate>Tue, 29 Jul 2008 10:36:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/12/26/sqlplus-is-my-second-home-part-5-reading-the-name-of-currently-executing-script/#comment-238</guid>
		<description>parameter APPINFO existed in at least since 7.2.3 but was OFF by default
In 8.0 and 8i APPINFO was ON by default
Since 9i APPINFO is OFF by default again

just my 2 cents worth</description>
		<content:encoded><![CDATA[<p>parameter APPINFO existed in at least since 7.2.3 but was OFF by default<br />
In 8.0 and 8i APPINFO was ON by default<br />
Since 9i APPINFO is OFF by default again</p>
<p>just my 2 cents worth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sudhir</title>
		<link>http://blog.tanelpoder.com/2007/12/26/sqlplus-is-my-second-home-part-5-reading-the-name-of-currently-executing-script/comment-page-1/#comment-239</link>
		<dc:creator>sudhir</dc:creator>
		<pubDate>Thu, 03 Jul 2008 15:36:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/12/26/sqlplus-is-my-second-home-part-5-reading-the-name-of-currently-executing-script/#comment-239</guid>
		<description>some other choice in 10g

desc v$session

..
 CLIENT_IDENTIFIER                                  VARCHAR2(64)

SQL&gt; exec dbms_session.SET_IDENTIFIER(&#039;01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789&#039;);

SQL&gt; select CLIENT_IDENTIFIER,length(CLIENT_IDENTIFIER) from gv$session where sid = (select sid from v$mystat where rownum=1);

CLIENT_IDENTIFIER                                                LENGTH(CLIENT_IDENTIFIER)
---------------------------------------------------------------- -------------------------
0123456789012345678901234567890123456789012345678901234567890123                        64

I found in the past using bind variables in call to dbms_application_info helped reduce the burdon on parsing at least to some extent

btw, fantastic site</description>
		<content:encoded><![CDATA[<p>some other choice in 10g</p>
<p>desc v$session</p>
<p>..<br />
 CLIENT_IDENTIFIER                                  VARCHAR2(64)</p>
<p>SQL&gt; exec dbms_session.SET_IDENTIFIER(&#8216;01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789&#8242;);</p>
<p>SQL&gt; select CLIENT_IDENTIFIER,length(CLIENT_IDENTIFIER) from gv$session where sid = (select sid from v$mystat where rownum=1);</p>
<p>CLIENT_IDENTIFIER                                                LENGTH(CLIENT_IDENTIFIER)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
0123456789012345678901234567890123456789012345678901234567890123                        64</p>
<p>I found in the past using bind variables in call to dbms_application_info helped reduce the burdon on parsing at least to some extent</p>
<p>btw, fantastic site</p>
]]></content:encoded>
	</item>
</channel>
</rss>
