<?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: My version of SQL string to table tokenizer</title>
	<atom:link href="http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-version-of-sql-string-to-table-tokenizer</link>
	<description>Oracle, Exadata, Performance, Troubleshooting - Mobile Life and Productivity.</description>
	<lastBuildDate>Wed, 08 Feb 2012 08:03:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/comment-page-1/#comment-3610</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Thu, 14 Jan 2010 13:55:47 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/#comment-3610</guid>
		<description>I agree! (both with that it&#039;s cool and that you should play with regex/sql! )</description>
		<content:encoded><![CDATA[<p>I agree! (both with that it&#8217;s cool and that you should play with regex/sql! )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/comment-page-1/#comment-3604</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 14 Jan 2010 01:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/#comment-3604</guid>
		<description>Way cool!

I will have to play more with regexes and sql.

Thanks!</description>
		<content:encoded><![CDATA[<p>Way cool!</p>
<p>I will have to play more with regexes and sql.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cadenas a filas (&#8217;tokenizer&#8217;) en Teradata. &#171; CarlosAL</title>
		<link>http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/comment-page-1/#comment-1731</link>
		<dc:creator>Cadenas a filas (&#8217;tokenizer&#8217;) en Teradata. &#171; CarlosAL</dc:creator>
		<pubDate>Fri, 05 Jun 2009 10:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/#comment-1731</guid>
		<description>[...] como origen el problema de convertir cadenas de caracteres en filas (lo que algunos llaman &#8216;tokenizer&#8216;). En pocas palabras, se trata de convertir una cadena de caracteres en filas que contienen [...]</description>
		<content:encoded><![CDATA[<p>[...] como origen el problema de convertir cadenas de caracteres en filas (lo que algunos llaman &#8216;tokenizer&#8216;). En pocas palabras, se trata de convertir una cadena de caracteres en filas que contienen [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PL/SQL String Tokenizer &#124; JT's Blog</title>
		<link>http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/comment-page-1/#comment-1481</link>
		<dc:creator>PL/SQL String Tokenizer &#124; JT's Blog</dc:creator>
		<pubDate>Sun, 03 May 2009 11:51:27 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/#comment-1481</guid>
		<description>[...] a little search on google, I found exactly what I was looking for here.  Oracle added Regular Expressions in the 10g release.  This is a very powerful tool.  The fifth [...]</description>
		<content:encoded><![CDATA[<p>[...] a little search on google, I found exactly what I was looking for here.  Oracle added Regular Expressions in the 10g release.  This is a very powerful tool.  The fifth [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: radino</title>
		<link>http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/comment-page-1/#comment-74</link>
		<dc:creator>radino</dc:creator>
		<pubDate>Sat, 29 Mar 2008 13:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/#comment-74</guid>
		<description>I use select from pipelined function as tokenizer..

something like pipelined function here:
http://www.oracle-base.com/articles/misc/DynamicInLists.php
(with more intelligent parsing - shifting position instead of trimming)</description>
		<content:encoded><![CDATA[<p>I use select from pipelined function as tokenizer..</p>
<p>something like pipelined function here:<br />
<a href="http://www.oracle-base.com/articles/misc/DynamicInLists.php" rel="nofollow">http://www.oracle-base.com/articles/misc/DynamicInLists.php</a><br />
(with more intelligent parsing &#8211; shifting position instead of trimming)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup</title>
		<link>http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/comment-page-1/#comment-73</link>
		<dc:creator>Anup</dc:creator>
		<pubDate>Wed, 24 Oct 2007 18:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/#comment-73</guid>
		<description>Reformatted the code here:

http://anuppani.blogspot.com/</description>
		<content:encoded><![CDATA[<p>Reformatted the code here:</p>
<p><a href="http://anuppani.blogspot.com/" rel="nofollow">http://anuppani.blogspot.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regular Expressions Links - Sharp Programmer</title>
		<link>http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/comment-page-1/#comment-72</link>
		<dc:creator>Regular Expressions Links - Sharp Programmer</dc:creator>
		<pubDate>Sat, 22 Sep 2007 06:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/#comment-72</guid>
		<description>[...] My version of SQL string to table tokenizer « Tanel Poder’s blog: Core IT for geeks and pros - But you have to start somewhere, so here we are - My version of SQL string to table tokenizer « Tanel Poder’s blog: Core IT for geeks and pros [...]</description>
		<content:encoded><![CDATA[<p>[...] My version of SQL string to table tokenizer « Tanel Poder’s blog: Core IT for geeks and pros &#8211; But you have to start somewhere, so here we are &#8211; My version of SQL string to table tokenizer « Tanel Poder’s blog: Core IT for geeks and pros [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/comment-page-1/#comment-71</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 16 Aug 2007 20:34:33 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/#comment-71</guid>
		<description>This is great stuff. Thanks a lot.</description>
		<content:encoded><![CDATA[<p>This is great stuff. Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup Pani</title>
		<link>http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/comment-page-1/#comment-70</link>
		<dc:creator>Anup Pani</dc:creator>
		<pubDate>Tue, 24 Jul 2007 18:39:14 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/#comment-70</guid>
		<description>Incase we want only the relevant tokens then use,

Create or replace FUNCTION Tokenizer (p_string VARCHAR2
                   ,p_separators in VARCHAR2)
RETURN dbms_sql.varchar2s IS
  l_token_tbl   dbms_sql.varchar2s;
  pattern       varchar2(250);
BEGIN

 pattern :=  &#039;[^(&#039; &#124;&#124; p_separators &#124;&#124; &#039;)]+&#039; ;

 select regexp_substr(p_string, pattern,1,level) token
 bulk collect into l_token_tbl
from dual
where regexp_substr(p_string, pattern,1,level) is not null
connect by regexp_instr(p_string, pattern,1, level ) &gt; 0;


   RETURN l_token_tbl;
END Tokenizer;
/

declare
l_token_tbl   dbms_sql.varchar2s;
delimiters    varchar2(12) := &#039; .;!@#$%^&amp;*,&#039;;
begin
l_token_tbl := Tokenizer(&#039; anup.pani@ gmail.com  &#039;, delimiters);
  FOR i IN l_token_tbl.FIRST..l_token_tbl.LAST LOOP
    dbms_output.put_line(l_token_tbl(i));
  END LOOP;
end;
/</description>
		<content:encoded><![CDATA[<p>Incase we want only the relevant tokens then use,</p>
<p>Create or replace FUNCTION Tokenizer (p_string VARCHAR2<br />
                   ,p_separators in VARCHAR2)<br />
RETURN dbms_sql.varchar2s IS<br />
  l_token_tbl   dbms_sql.varchar2s;<br />
  pattern       varchar2(250);<br />
BEGIN</p>
<p> pattern :=  &#8216;[^(' || p_separators || ')]+&#8217; ;</p>
<p> select regexp_substr(p_string, pattern,1,level) token<br />
 bulk collect into l_token_tbl<br />
from dual<br />
where regexp_substr(p_string, pattern,1,level) is not null<br />
connect by regexp_instr(p_string, pattern,1, level ) &gt; 0;</p>
<p>   RETURN l_token_tbl;<br />
END Tokenizer;<br />
/</p>
<p>declare<br />
l_token_tbl   dbms_sql.varchar2s;<br />
delimiters    varchar2(12) := &#8216; .;!@#$%^&amp;*,&#8217;;<br />
begin<br />
l_token_tbl := Tokenizer(&#8216; anup.pani@ gmail.com  &#8216;, delimiters);<br />
  FOR i IN l_token_tbl.FIRST..l_token_tbl.LAST LOOP<br />
    dbms_output.put_line(l_token_tbl(i));<br />
  END LOOP;<br />
end;<br />
/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanelp</title>
		<link>http://blog.tanelpoder.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/comment-page-1/#comment-69</link>
		<dc:creator>tanelp</dc:creator>
		<pubDate>Sat, 23 Jun 2007 06:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/06/20/my-version-of-sql-string-to-table-tokenizer/#comment-69</guid>
		<description>Nice!
Thanks!</description>
		<content:encoded><![CDATA[<p>Nice!<br />
Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

