<?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: Creating Test Scripts With Bind Variables</title>
	<atom:link href="http://kerryosborne.oracle-guy.com/2009/07/creating-test-scripts-with-bind-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://kerryosborne.oracle-guy.com/2009/07/creating-test-scripts-with-bind-variables/</link>
	<description>Just another Oracle blog</description>
	<pubDate>Thu, 29 Jul 2010 12:14:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: osborne</title>
		<link>http://kerryosborne.oracle-guy.com/2009/07/creating-test-scripts-with-bind-variables/#comment-12597</link>
		<dc:creator>osborne</dc:creator>
		<pubDate>Fri, 18 Jun 2010 21:35:36 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1607#comment-12597</guid>
		<description>Anish,

  Thanks for the kind words. Try the link now. (the script was actually there but somehow the link had gotten messed up in the post) Should be fixed now.

Kerry</description>
		<content:encoded><![CDATA[<p>Anish,</p>
<p>  Thanks for the kind words. Try the link now. (the script was actually there but somehow the link had gotten messed up in the post) Should be fixed now.</p>
<p>Kerry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ansh abhishek</title>
		<link>http://kerryosborne.oracle-guy.com/2009/07/creating-test-scripts-with-bind-variables/#comment-12592</link>
		<dc:creator>Ansh abhishek</dc:creator>
		<pubDate>Fri, 18 Jun 2010 20:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1607#comment-12592</guid>
		<description>Hi

Your blog is very inspiring ...it is like a boon for perf guys . thank you 

I am not able to find build_bind_vars2.sql on your blog.

Regards
Ansh Abhishek</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Your blog is very inspiring &#8230;it is like a boon for perf guys . thank you </p>
<p>I am not able to find build_bind_vars2.sql on your blog.</p>
<p>Regards<br />
Ansh Abhishek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: osborne</title>
		<link>http://kerryosborne.oracle-guy.com/2009/07/creating-test-scripts-with-bind-variables/#comment-8697</link>
		<dc:creator>osborne</dc:creator>
		<pubDate>Thu, 01 Apr 2010 18:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1607#comment-8697</guid>
		<description>create or replace function enkitec.display_raw (rawval raw, type varchar2)
return varchar2
is
/* as suggested by Greg Rahn */
   cn     number;
   cv     varchar2(32);
   cd     date;
   cnv    nvarchar2(32);
   cr     rowid;
   cc     char(32);
begin
   if (type = 'NUMBER') then
      dbms_stats.convert_raw_value(rawval, cn);
      return to_char(cn);
   elsif (type = 'VARCHAR2') then
      dbms_stats.convert_raw_value(rawval, cv);
      return to_char(cv);
   elsif (type = 'DATE') then
      dbms_stats.convert_raw_value(rawval, cd);
      return to_char(cd,'dd-mon-yyyy');
   elsif (type = 'NVARCHAR2') then
      dbms_stats.convert_raw_value(rawval, cnv);
      return to_char(cnv);
   elsif (type = 'ROWID') then
      dbms_stats.convert_raw_value(rawval, cr);
      return to_char(cnv);
   elsif (type = 'CHAR') then
      dbms_stats.convert_raw_value(rawval, cc);
      return to_char(cc);
   else
      return 'UNKNOWN DATATYPE';
   end if;
end;
/

Also I added a link in the text of the post.</description>
		<content:encoded><![CDATA[<p>create or replace function enkitec.display_raw (rawval raw, type varchar2)<br />
return varchar2<br />
is<br />
/* as suggested by Greg Rahn */<br />
   cn     number;<br />
   cv     varchar2(32);<br />
   cd     date;<br />
   cnv    nvarchar2(32);<br />
   cr     rowid;<br />
   cc     char(32);<br />
begin<br />
   if (type = &#8216;NUMBER&#8217;) then<br />
      dbms_stats.convert_raw_value(rawval, cn);<br />
      return to_char(cn);<br />
   elsif (type = &#8216;VARCHAR2&#8242;) then<br />
      dbms_stats.convert_raw_value(rawval, cv);<br />
      return to_char(cv);<br />
   elsif (type = &#8216;DATE&#8217;) then<br />
      dbms_stats.convert_raw_value(rawval, cd);<br />
      return to_char(cd,&#8217;dd-mon-yyyy&#8217;);<br />
   elsif (type = &#8216;NVARCHAR2&#8242;) then<br />
      dbms_stats.convert_raw_value(rawval, cnv);<br />
      return to_char(cnv);<br />
   elsif (type = &#8216;ROWID&#8217;) then<br />
      dbms_stats.convert_raw_value(rawval, cr);<br />
      return to_char(cnv);<br />
   elsif (type = &#8216;CHAR&#8217;) then<br />
      dbms_stats.convert_raw_value(rawval, cc);<br />
      return to_char(cc);<br />
   else<br />
      return &#8216;UNKNOWN DATATYPE&#8217;;<br />
   end if;<br />
end;<br />
/</p>
<p>Also I added a link in the text of the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JimH</title>
		<link>http://kerryosborne.oracle-guy.com/2009/07/creating-test-scripts-with-bind-variables/#comment-8691</link>
		<dc:creator>JimH</dc:creator>
		<pubDate>Thu, 01 Apr 2010 16:42:12 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1607#comment-8691</guid>
		<description>On the script build_bind_vars.sql, would you be able to post/share the enkitec.display_raw() function?  (The Oracle sqltxplain util has the sqlt$a.boil_raw() function - just curious on your approach). Thanks, Jim.</description>
		<content:encoded><![CDATA[<p>On the script build_bind_vars.sql, would you be able to post/share the enkitec.display_raw() function?  (The Oracle sqltxplain util has the sqlt$a.boil_raw() function - just curious on your approach). Thanks, Jim.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kerry Osborne&#8217;s Oracle Blog &#187; Blog Archive GATHER_PLAN_STATISTICS - Kerry Osborne’s Oracle Blog</title>
		<link>http://kerryosborne.oracle-guy.com/2009/07/creating-test-scripts-with-bind-variables/#comment-7137</link>
		<dc:creator>Kerry Osborne&#8217;s Oracle Blog &#187; Blog Archive GATHER_PLAN_STATISTICS - Kerry Osborne’s Oracle Blog</dc:creator>
		<pubDate>Tue, 09 Feb 2010 17:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1607#comment-7137</guid>
		<description>[...] have a script that helps generate the test script (see this post: Creating Test Scripts with Bind Variables). But there are definite drawbacks to this approach. It can be difficult to duplicate the exact [...]</description>
		<content:encoded><![CDATA[<p>[...] have a script that helps generate the test script (see this post: Creating Test Scripts with Bind Variables). But there are definite drawbacks to this approach. It can be difficult to duplicate the exact [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL_PLAN &#8211; other_xml &#171; OraStory</title>
		<link>http://kerryosborne.oracle-guy.com/2009/07/creating-test-scripts-with-bind-variables/#comment-6173</link>
		<dc:creator>SQL_PLAN &#8211; other_xml &#171; OraStory</dc:creator>
		<pubDate>Thu, 31 Dec 2009 11:15:37 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1607#comment-6173</guid>
		<description>[...] other posts regarding OTHER_XML: Kerry Osborne using OTHER_XML to create test scripts with bind variables Randolf Geist using OTHER_XML to get outlines / create [...]</description>
		<content:encoded><![CDATA[<p>[...] other posts regarding OTHER_XML: Kerry Osborne using OTHER_XML to create test scripts with bind variables Randolf Geist using OTHER_XML to get outlines / create [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogroll Report 17/07/2009 – 24/07/2009 &#171; Coskan&#8217;s Approach to Oracle</title>
		<link>http://kerryosborne.oracle-guy.com/2009/07/creating-test-scripts-with-bind-variables/#comment-3657</link>
		<dc:creator>Blogroll Report 17/07/2009 – 24/07/2009 &#171; Coskan&#8217;s Approach to Oracle</dc:creator>
		<pubDate>Mon, 27 Jul 2009 14:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1607#comment-3657</guid>
		<description>[...] Kerry Osborne-Creating Test Scripts With Bind Variables [...]</description>
		<content:encoded><![CDATA[<p>[...] Kerry Osborne-Creating Test Scripts With Bind Variables [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: osborne</title>
		<link>http://kerryosborne.oracle-guy.com/2009/07/creating-test-scripts-with-bind-variables/#comment-3601</link>
		<dc:creator>osborne</dc:creator>
		<pubDate>Thu, 23 Jul 2009 22:27:43 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1607#comment-3601</guid>
		<description>Oh, I meant to mention that Dion Cho has good post regarding v$sql_bind_capture here:

  http://dioncho.wordpress.com/2009/05/07/tracking-the-bind-value/

And Jonathan Lewis had a short post which generated a fair amount of discussion here:

  http://jonathanlewis.wordpress.com/2008/07/24/bind-capture/

Kerry</description>
		<content:encoded><![CDATA[<p>Oh, I meant to mention that Dion Cho has good post regarding v$sql_bind_capture here:</p>
<p>  <a href="http://dioncho.wordpress.com/2009/05/07/tracking-the-bind-value/" onclick="javascript:pageTracker._trackPageview('/outbound/comment/dioncho.wordpress.com');" rel="nofollow">http://dioncho.wordpress.com/2009/05/07/tracking-the-bind-value/</a></p>
<p>And Jonathan Lewis had a short post which generated a fair amount of discussion here:</p>
<p>  <a href="http://jonathanlewis.wordpress.com/2008/07/24/bind-capture/" onclick="javascript:pageTracker._trackPageview('/outbound/comment/jonathanlewis.wordpress.com');" rel="nofollow">http://jonathanlewis.wordpress.com/2008/07/24/bind-capture/</a></p>
<p>Kerry</p>
]]></content:encoded>
	</item>
</channel>
</rss>
