<?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: 为什么多了一个空格?</title>
	<atom:link href="http://www.anysql.net/dba/why_extra_space_char.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.anysql.net/dba/why_extra_space_char.html</link>
	<description>Oracle DBA,MySQL DBA, 数据恢复, 数据迁移, 报表软件, 性能优化, 系统监控</description>
	<lastBuildDate>Wed, 17 Mar 2010 15:20:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 冰冻奶茶</title>
		<link>http://www.anysql.net/dba/why_extra_space_char.html/comment-page-1#comment-1388</link>
		<dc:creator>冰冻奶茶</dc:creator>
		<pubDate>Tue, 15 Jan 2008 18:34:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.anysql.net/wordpress/uncategorized/%e4%b8%ba%e4%bb%80%e4%b9%88%e5%a4%9a%e4%ba%86%e4%b8%80%e4%b8%aa%e7%a9%ba%e6%a0%bc.html#comment-1388</guid>
		<description>SQL&gt; select dump(to_char(9,&#039;99&#039;)) from dual;
DUMP(TO_CHAR(9,&#039;99&#039;))
----------------------------------------------------------------------------------------------------
Typ=1 Len=3: 32,32,57
应该是用0来补位吧
</description>
		<content:encoded><![CDATA[<p>SQL> select dump(to_char(9,&#8217;99&#8242;)) from dual;<br />
DUMP(TO_CHAR(9,&#8217;99&#8242;))<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;&#8212;&#8212;&#8212;&#8212;-<br />
Typ=1 Len=3: 32,32,57<br />
应该是用0来补位吧</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: niubro</title>
		<link>http://www.anysql.net/dba/why_extra_space_char.html/comment-page-1#comment-1387</link>
		<dc:creator>niubro</dc:creator>
		<pubDate>Sat, 12 Jan 2008 02:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.anysql.net/wordpress/uncategorized/%e4%b8%ba%e4%bb%80%e4%b9%88%e5%a4%9a%e4%ba%86%e4%b8%80%e4%b8%aa%e7%a9%ba%e6%a0%bc.html#comment-1387</guid>
		<description>不错，转载了
</description>
		<content:encoded><![CDATA[<p>不错，转载了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anysql</title>
		<link>http://www.anysql.net/dba/why_extra_space_char.html/comment-page-1#comment-1386</link>
		<dc:creator>anysql</dc:creator>
		<pubDate>Fri, 11 Jan 2008 19:43:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.anysql.net/wordpress/uncategorized/%e4%b8%ba%e4%bb%80%e4%b9%88%e5%a4%9a%e4%ba%86%e4%b8%80%e4%b8%aa%e7%a9%ba%e6%a0%bc.html#comment-1386</guid>
		<description>谢谢adam的精彩回答.
</description>
		<content:encoded><![CDATA[<p>谢谢adam的精彩回答.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://www.anysql.net/dba/why_extra_space_char.html/comment-page-1#comment-1385</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Fri, 11 Jan 2008 19:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.anysql.net/wordpress/uncategorized/%e4%b8%ba%e4%bb%80%e4%b9%88%e5%a4%9a%e4%ba%86%e4%b8%80%e4%b8%aa%e7%a9%ba%e6%a0%bc.html#comment-1385</guid>
		<description>SQL&gt;  SELECT  &#039;P&#039;&#124;&#124;TO_CHAR(9,&#039;FM09&#039;) FROM DUAL;
&#039;P&#039;&#124;
----
P09
SQL&gt;  SELECT DUMP(TO_CHAR(9,&#039;FM09&#039;)) coldump from dual;
COLDUMP
--------------------------------------------------------------------------------
Typ=1 Len=2: 48,57
FM
Fill mode. Oracle uses blank characters to fill format elements to a constant width equal to the largest element for the relevant format model in the current session language. For example, when NLS_LANGUAGE is AMERICAN, the largest element for MONTH is SEPTEMBER, so all values of the MONTH format element are padded to 9 display characters. This modifier suppresses blank padding in the return value of the TO_CHAR function:
In a datetime format element of a TO_CHAR function, this modifier suppresses blanks in subsequent character elements (such as MONTH) and suppresses leading zeroes for subsequent number elements (such as MI) in a date format model. Without FM, the result of a character element is always right padded with blanks to a fixed length, and leading zeroes are always returned for a number element. With FM, which suppresses blank padding, the length of the return value may vary.
In a number format element of a TO_CHAR function, this modifier suppresses blanks added to the left of the number, so that the result is left-justified in the output buffer. Without FM, the result is always right-justified in the buffer, resulting in blank-padding to the left of the number.
</description>
		<content:encoded><![CDATA[<p>SQL>  SELECT  &#8216;P&#8217;||TO_CHAR(9,&#8217;FM09&#8242;) FROM DUAL;<br />
&#8216;P&#8217;|<br />
&#8212;-<br />
P09<br />
SQL>  SELECT DUMP(TO_CHAR(9,&#8217;FM09&#8242;)) coldump from dual;<br />
COLDUMP<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;&#8211;<br />
Typ=1 Len=2: 48,57<br />
FM<br />
Fill mode. Oracle uses blank characters to fill format elements to a constant width equal to the largest element for the relevant format model in the current session language. For example, when NLS_LANGUAGE is AMERICAN, the largest element for MONTH is SEPTEMBER, so all values of the MONTH format element are padded to 9 display characters. This modifier suppresses blank padding in the return value of the TO_CHAR function:<br />
In a datetime format element of a TO_CHAR function, this modifier suppresses blanks in subsequent character elements (such as MONTH) and suppresses leading zeroes for subsequent number elements (such as MI) in a date format model. Without FM, the result of a character element is always right padded with blanks to a fixed length, and leading zeroes are always returned for a number element. With FM, which suppresses blank padding, the length of the return value may vary.<br />
In a number format element of a TO_CHAR function, this modifier suppresses blanks added to the left of the number, so that the result is left-justified in the output buffer. Without FM, the result is always right-justified in the buffer, resulting in blank-padding to the left of the number.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anysql</title>
		<link>http://www.anysql.net/dba/why_extra_space_char.html/comment-page-1#comment-1384</link>
		<dc:creator>anysql</dc:creator>
		<pubDate>Fri, 11 Jan 2008 17:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.anysql.net/wordpress/uncategorized/%e4%b8%ba%e4%bb%80%e4%b9%88%e5%a4%9a%e4%ba%86%e4%b8%80%e4%b8%aa%e7%a9%ba%e6%a0%bc.html#comment-1384</guid>
		<description>后来是那样解决的, 只是从来没有注意到过这个问题, 从DATE向CHAR转换的多, 为NUMBER指定格式情况的很少.
</description>
		<content:encoded><![CDATA[<p>后来是那样解决的, 只是从来没有注意到过这个问题, 从DATE向CHAR转换的多, 为NUMBER指定格式情况的很少.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eygle</title>
		<link>http://www.anysql.net/dba/why_extra_space_char.html/comment-page-1#comment-1383</link>
		<dc:creator>eygle</dc:creator>
		<pubDate>Fri, 11 Jan 2008 17:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.anysql.net/wordpress/uncategorized/%e4%b8%ba%e4%bb%80%e4%b9%88%e5%a4%9a%e4%ba%86%e4%b8%80%e4%b8%aa%e7%a9%ba%e6%a0%bc.html#comment-1383</guid>
		<description>trim或ltrim一下
</description>
		<content:encoded><![CDATA[<p>trim或ltrim一下</p>
]]></content:encoded>
	</item>
</channel>
</rss>
