<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://sqle.ru/index.php?action=history&amp;feed=atom&amp;title=Oracle_PL%2FSQL%2FChar_Functions%2FRTRIM</id>
		<title>Oracle PL/SQL/Char Functions/RTRIM - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://sqle.ru/index.php?action=history&amp;feed=atom&amp;title=Oracle_PL%2FSQL%2FChar_Functions%2FRTRIM"/>
		<link rel="alternate" type="text/html" href="http://sqle.ru/index.php?title=Oracle_PL/SQL/Char_Functions/RTRIM&amp;action=history"/>
		<updated>2026-04-04T10:38:55Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://sqle.ru/index.php?title=Oracle_PL/SQL/Char_Functions/RTRIM&amp;diff=1793&amp;oldid=prev</id>
		<title> в 13:45, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://sqle.ru/index.php?title=Oracle_PL/SQL/Char_Functions/RTRIM&amp;diff=1793&amp;oldid=prev"/>
				<updated>2010-05-26T13:45:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 13:45, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://sqle.ru/index.php?title=Oracle_PL/SQL/Char_Functions/RTRIM&amp;diff=1794&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://sqle.ru/index.php?title=Oracle_PL/SQL/Char_Functions/RTRIM&amp;diff=1794&amp;oldid=prev"/>
				<updated>2010-05-26T09:58:59Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Rtrim char type column data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
SQL&amp;gt; CREATE TABLE old_item (&lt;br /&gt;
  2       item_id   CHAR(20),&lt;br /&gt;
  3       item_desc CHAR(25)&lt;br /&gt;
  4       );&lt;br /&gt;
Table created.&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
SQL&amp;gt; INSERT INTO old_item VALUES(&amp;quot;LA-101&amp;quot;, &amp;quot;Can, Small&amp;quot;);&lt;br /&gt;
1 row created.&lt;br /&gt;
SQL&amp;gt; INSERT INTO old_item VALUES(&amp;quot;LA-102&amp;quot;, &amp;quot;Can, Large&amp;quot;);&lt;br /&gt;
1 row created.&lt;br /&gt;
SQL&amp;gt; INSERT INTO old_item VALUES(&amp;quot;LA-103&amp;quot;, &amp;quot;Bottle, Small&amp;quot;);&lt;br /&gt;
1 row created.&lt;br /&gt;
SQL&amp;gt; INSERT INTO old_item VALUES(&amp;quot;LA-104&amp;quot;, &amp;quot;Bottle, Large&amp;quot;);&lt;br /&gt;
1 row created.&lt;br /&gt;
SQL&amp;gt; INSERT INTO old_item VALUES(&amp;quot;NY-101&amp;quot;, &amp;quot;Box, Small&amp;quot;);&lt;br /&gt;
1 row created.&lt;br /&gt;
SQL&amp;gt; INSERT INTO old_item VALUES(&amp;quot;NY-102&amp;quot;, &amp;quot;Box, Large&amp;quot;);&lt;br /&gt;
1 row created.&lt;br /&gt;
SQL&amp;gt; INSERT INTO old_item VALUES(&amp;quot;NY-103&amp;quot;, &amp;quot;Shipping Carton, Small&amp;quot;);&lt;br /&gt;
1 row created.&lt;br /&gt;
SQL&amp;gt; INSERT INTO old_item VALUES(&amp;quot;NY-104&amp;quot;, &amp;quot;Shipping Carton, Large&amp;quot;);&lt;br /&gt;
1 row created.&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
SQL&amp;gt; SELECT &amp;quot;Item  &amp;quot; ||&lt;br /&gt;
  2         RTRIM(item_id) ||&lt;br /&gt;
  3         &amp;quot; is described as a &amp;quot; ||&lt;br /&gt;
  4         RTRIM(item_desc) ||&lt;br /&gt;
  5         &amp;quot;.&amp;quot;  &amp;quot;Item Description Sentence&amp;quot;&lt;br /&gt;
  6  FROM   old_item;&lt;br /&gt;
Item Description Sentence&lt;br /&gt;
-----------------------------------------------------------------------&lt;br /&gt;
Item  LA-101 is described as a Can, Small.&lt;br /&gt;
Item  LA-102 is described as a Can, Large.&lt;br /&gt;
Item  LA-103 is described as a Bottle, Small.&lt;br /&gt;
Item  LA-104 is described as a Bottle, Large.&lt;br /&gt;
Item  NY-101 is described as a Box, Small.&lt;br /&gt;
Item  NY-102 is described as a Box, Large.&lt;br /&gt;
Item  NY-103 is described as a Shipping Carton, Small.&lt;br /&gt;
Item  NY-104 is described as a Shipping Carton, Large.&lt;br /&gt;
8 rows selected.&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
SQL&amp;gt; drop table OLD_ITEM;&lt;br /&gt;
Table dropped.&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RTRIM function removes trailing characters==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; --RTRIM function removes trailing characters.&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
SQL&amp;gt; SELECT RTRIM(&amp;quot;S&amp;quot; , &amp;quot;STEVENS&amp;quot;) AS TRIM FROM Dual;&lt;br /&gt;
T&lt;br /&gt;
-&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Rtrim: removes a set of characters from the right of a string==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; -- RTRIM stands for &amp;quot;right trim.&amp;quot;&lt;br /&gt;
SQL&amp;gt; -- The general format for this function is:&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
SQL&amp;gt; -- RTRIM(string, characters_to_remove)&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
SQL&amp;gt; SELECT RTRIM(&amp;quot;Computers&amp;quot;, &amp;quot;s&amp;quot;) FROM dual;&lt;br /&gt;
RTRIM(&amp;quot;C&lt;br /&gt;
--------&lt;br /&gt;
Computer&lt;br /&gt;
&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Use rtim to remove space==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
SQL&amp;gt;  select &amp;quot;&amp;quot;&amp;quot; || rtrim( &amp;quot;Some String     &amp;quot; ) || &amp;quot;&amp;quot;&amp;quot; &amp;quot;A String&amp;quot;&lt;br /&gt;
  2      from dual&lt;br /&gt;
  3    /&lt;br /&gt;
A String&lt;br /&gt;
-------------&lt;br /&gt;
&amp;quot;Some String&amp;quot;&lt;br /&gt;
1 row selected.&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
SQL&amp;gt; --&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>