<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MemoSoup &#187; charset</title>
	<atom:link href="http://www.memosoup.com/tag/charset/feed" rel="self" type="application/rss+xml" />
	<link>http://www.memosoup.com</link>
	<description>Mix of the things I always forget</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:03:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Print current Oracle character set</title>
		<link>http://www.memosoup.com/20090910/print-current-oracle-character-set.html</link>
		<comments>http://www.memosoup.com/20090910/print-current-oracle-character-set.html#comments</comments>
		<pubDate>Thu, 10 Sep 2009 16:40:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[charset]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=62</guid>
		<description><![CDATA[<p>Short PL/SQL block to print the characters in range [033..256]</p> SET serveroutput ON DECLARE &#160;i NUMBER; &#160;j NUMBER; &#160;k NUMBER; BEGIN FOR i IN 2..15 LOOP &#160;FOR j IN 1..16 LOOP &#160;k:=i*16+j; &#160;dbms_output.put&#40;&#40;TO_CHAR&#40;k,'000'&#41;&#41; &#124;&#124; ':' &#124;&#124; CHR&#40;k&#41; &#124;&#124; ' ' &#41;; &#160;IF k MOD 8 = 0 THEN &#160; &#160;dbms_output.put_line&#40;''&#41;; &#160; END IF; &#160;END LOOP; [...]]]></description>
			<content:encoded><![CDATA[<p>Short PL/SQL block to print the characters in range [033..256]</p>
<div class="codecolorer-container oracle8 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="oracle8 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold; text-transform: uppercase;">SET</span> serveroutput <span style="color: #993333; font-weight: bold; text-transform: uppercase;">ON</span><br />
<br />
<span style="color: #993333; font-weight: bold; text-transform: uppercase;">DECLARE</span><br />
&nbsp;i <span style="color: #993333; font-weight: bold; text-transform: uppercase;">NUMBER</span>;<br />
&nbsp;j <span style="color: #993333; font-weight: bold; text-transform: uppercase;">NUMBER</span>;<br />
&nbsp;k <span style="color: #993333; font-weight: bold; text-transform: uppercase;">NUMBER</span>;<br />
<span style="color: #993333; font-weight: bold; text-transform: uppercase;">BEGIN</span><br />
<span style="color: #993333; font-weight: bold; text-transform: uppercase;">FOR</span> i <span style="color: #993333; font-weight: bold; text-transform: uppercase;">IN</span> <span style="color: #cc66cc;">2</span>..<span style="color: #cc66cc;">15</span> <span style="color: #993333; font-weight: bold; text-transform: uppercase;">LOOP</span><br />
&nbsp;<span style="color: #993333; font-weight: bold; text-transform: uppercase;">FOR</span> j <span style="color: #993333; font-weight: bold; text-transform: uppercase;">IN</span> <span style="color: #cc66cc;">1</span>..<span style="color: #cc66cc;">16</span> <span style="color: #993333; font-weight: bold; text-transform: uppercase;">LOOP</span><br />
&nbsp;k:<span style="color: #66cc66;">=</span>i<span style="color: #66cc66;">*</span><span style="color: #cc66cc;">16</span><span style="color: #66cc66;">+</span>j;<br />
&nbsp;dbms_output.put<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold; text-transform: uppercase;">TO_CHAR</span><span style="color: #66cc66;">&#40;</span>k<span style="color: #66cc66;">,</span><span style="color: #ff0000;">'000'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">||</span> <span style="color: #ff0000;">':'</span> <span style="color: #66cc66;">||</span> <span style="color: #993333; font-weight: bold; text-transform: uppercase;">CHR</span><span style="color: #66cc66;">&#40;</span>k<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">||</span> <span style="color: #ff0000;">' '</span> <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp;<span style="color: #993333; font-weight: bold; text-transform: uppercase;">IF</span> k <span style="color: #993333; font-weight: bold; text-transform: uppercase;">MOD</span> <span style="color: #cc66cc;">8</span> <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">0</span> <span style="color: #993333; font-weight: bold; text-transform: uppercase;">THEN</span><br />
&nbsp; &nbsp;dbms_output.put_line<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">''</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; <span style="color: #993333; font-weight: bold; text-transform: uppercase;">END</span> <span style="color: #993333; font-weight: bold; text-transform: uppercase;">IF</span>;<br />
&nbsp;<span style="color: #993333; font-weight: bold; text-transform: uppercase;">END</span> <span style="color: #993333; font-weight: bold; text-transform: uppercase;">LOOP</span>;<br />
<span style="color: #993333; font-weight: bold; text-transform: uppercase;">END</span> <span style="color: #993333; font-weight: bold; text-transform: uppercase;">LOOP</span>;<br />
<span style="color: #993333; font-weight: bold; text-transform: uppercase;">END</span>;</div></div>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20090910%2Fprint-current-oracle-character-set.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20090910/print-current-oracle-character-set.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="Print current Oracle character set" data-url="http://www.memosoup.com/20090910/print-current-oracle-character-set.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20090910/print-current-oracle-character-set.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

