<?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>Teradata Tips Info</title>
	<atom:link href="http://www.teradatatips.info/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.teradatatips.info</link>
	<description>Teradata Tips and Information</description>
	<lastBuildDate>Thu, 04 Jun 2009 01:51:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TeradataTip6 &#8211; Let the database recommend which statistics to collect</title>
		<link>http://www.teradatatips.info/?p=43</link>
		<comments>http://www.teradatatips.info/?p=43#comments</comments>
		<pubDate>Tue, 02 Jun 2009 21:51:46 +0000</pubDate>
		<dc:creator>carlos.ibarra</dc:creator>
				<category><![CDATA[TeradataTipInfo]]></category>
		<category><![CDATA[TeradataTip]]></category>

		<guid isPermaLink="false">http://www.teradatatips.info/?p=43</guid>
		<description><![CDATA[Teradata uses statistics to determine the most efficient query plan. Sometimes it is difficult to decide which statistics to collect. Collecting statistics requires a full table scan and you don&#8217;t want to do it unnecessarily, but not collecting the required statistics can lead to inefficient queries and increased resource consumption.
The following technique lets Teradata tell [...]]]></description>
			<content:encoded><![CDATA[<p>Teradata uses statistics to determine the most efficient query plan. Sometimes it is difficult to decide which statistics to collect. Collecting statistics requires a full table scan and you don&#8217;t want to do it unnecessarily, but not collecting the required statistics can lead to inefficient queries and increased resource consumption.</p>
<p>The following technique lets Teradata tell you which statistics it could use to improve the query plan for a specific query. To demonstrate, first, we set up some test tables.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> A<span style="color: #66cc66;">&#40;</span>k integer<span style="color: #66cc66;">,</span> fk1 integer<span style="color: #66cc66;">,</span> fk2 integer<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">INDEX</span><span style="color: #66cc66;">&#40;</span>k<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> B<span style="color: #66cc66;">&#40;</span>kb1 integer<span style="color: #66cc66;">,</span> kb2 integer<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">INDEX</span><span style="color: #66cc66;">&#40;</span>kb1<span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>Now we turn on requesting statistics recommendations like this. The following can be entered as SQL using BTEQ or Teradata SQL Assistant.<br />
<code><br />
diagnostic helpstats on for session;<br />
</code></p>
<p>Then when we ask for an EXPLAIN, we get statistics recommendations after the explain plan text.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">EXPLAIN</span>
<span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">FROM</span> a <span style="color: #993333; font-weight: bold;">JOIN</span> b
<span style="color: #993333; font-weight: bold;">ON</span> a<span style="color: #66cc66;">.</span>fk1 <span style="color: #66cc66;">=</span> b<span style="color: #66cc66;">.</span>kb1 <span style="color: #993333; font-weight: bold;">AND</span> a<span style="color: #66cc66;">.</span>fk2 <span style="color: #66cc66;">=</span> b<span style="color: #66cc66;">.</span>kb2;</pre></div></div>

<p>Note the recommended COLLECT STATISTICS commands at the end.</p>
<pre>
Explanation
---------------------------------------------------------------------------
  1) First, we lock a distinct TEST_DB."pseudo table" for read on
     a RowHash to prevent global deadlock for TEST_DB.b.
  2) Next, we lock a distinct TEST_DB."pseudo table" for read on a
     RowHash to prevent global deadlock for TEST_DB.a.
  3) We lock TEST_DB.b for read, and we lock TEST_DB.a for
     read.
  4) We do an all-AMPs RETRIEVE step from TEST_DB.a by way of an
     all-rows scan with a condition of ("(NOT (TEST_DB.a.fk2 IS
     NULL )) AND (NOT (TEST_DB.a.fk1 IS NULL ))") into Spool 2
     (all_amps), which is redistributed by hash code to all AMPs.  Then
     we do a SORT to order Spool 2 by row hash.  The size of Spool 2 is
     estimated with no confidence to be 96 rows.  The estimated time
     for this step is 0.00 seconds.
  5) We do an all-AMPs JOIN step from TEST_DB.b by way of a
     RowHash match scan with a condition of ("NOT (TEST_DB.b.kb1
     IS NULL)"), which is joined to Spool 2 (Last Use) by way of a
     RowHash match scan.  TEST_DB.b and Spool 2 are joined using a
     merge join, with a join condition of ("(fk1 = TEST_DB.b.kb1)
     AND (fk2 = TEST_DB.b.kb2)").  The result goes into Spool 1
     (group_amps), which is built locally on the AMPs.  The size of
     Spool 1 is estimated with no confidence to be 9,216 rows.  The
     estimated time for this step is 0.03 seconds.
  6) Finally, we send out an END TRANSACTION step to all AMPs involved
     in processing the request.
  -> The contents of Spool 1 are sent back to the user as the result of
     statement 1.  The total estimated time is 0.03 seconds.
     BEGIN RECOMMENDED STATS ->
  7) "COLLECT STATISTICS TEST_DB.b COLUMN KB1".  (HighConf)
  8) "COLLECT STATISTICS TEST_DB.b COLUMN (KB2 ,KB1)".  (HighConf)
  9) "COLLECT STATISTICS TEST_DB.b COLUMN KB2".  (HighConf)
 10) "COLLECT STATISTICS TEST_DB.a COLUMN K".  (HighConf)
 11) "COLLECT STATISTICS TEST_DB.a COLUMN (FK2 ,FK1)".  (HighConf)
 12) "COLLECT STATISTICS TEST_DB.a COLUMN FK2".  (HighConf)
 13) "COLLECT STATISTICS TEST_DB.a COLUMN FK1".  (HighConf)
     <- END RECOMMENDED STATS
</pre>
<p>You can run the COLLECT STATISTICS commands that appear in double-quotes in order to provide Teradata with the data demographic information that it needs for an efficient plan.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.teradatatips.info/?feed=rss2&amp;p=43</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TeradataTip5 &#8211; How to find join indexes defined on your table</title>
		<link>http://www.teradatatips.info/?p=39</link>
		<comments>http://www.teradatatips.info/?p=39#comments</comments>
		<pubDate>Mon, 01 Jun 2009 19:19:13 +0000</pubDate>
		<dc:creator>carlos.ibarra</dc:creator>
				<category><![CDATA[TeradataTipInfo]]></category>
		<category><![CDATA[TeradataTip]]></category>

		<guid isPermaLink="false">http://www.teradatatips.info/?p=39</guid>
		<description><![CDATA[If you try to drop or mload a table that has a join index defined on it, Teradata will give you an error:

5467:  Cannot drop or MLOAD a table with join or hash indexes.

To find the join indexes that are defined on your table, run the following query:

SELECT  * FROM dbc.indices 
WHERE indextype='J'
 [...]]]></description>
			<content:encoded><![CDATA[<p>If you try to drop or mload a table that has a join index defined on it, Teradata will give you an error:</p>
<pre>
5467:  Cannot drop or MLOAD a table with join or hash indexes.
</pre>
<p>To find the join indexes that are defined on your table, run the following query:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span>  <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">FROM</span> dbc<span style="color: #66cc66;">.</span>indices 
<span style="color: #993333; font-weight: bold;">WHERE</span> indextype<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'J'</span>
     <span style="color: #993333; font-weight: bold;">AND</span> databasename<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'your_database_name'</span>
     <span style="color: #993333; font-weight: bold;">AND</span> tablename<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'your_table_name'</span>
<span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> indexname<span style="color: #66cc66;">,</span>columnposition;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.teradatatips.info/?feed=rss2&amp;p=39</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TeradataTip4 &#8211; convert an integer-based time to a time(0), and convert a DATE,INTEGER to a timestamp(0)</title>
		<link>http://www.teradatatips.info/?p=33</link>
		<comments>http://www.teradatatips.info/?p=33#comments</comments>
		<pubDate>Sat, 30 May 2009 23:22:29 +0000</pubDate>
		<dc:creator>carlos.ibarra</dc:creator>
				<category><![CDATA[TeradataTipInfo]]></category>
		<category><![CDATA[TeradataTip]]></category>

		<guid isPermaLink="false">http://www.teradatatips.info/?p=33</guid>
		<description><![CDATA[Teradata has two types of time types, the old one that is simply an integer format &#8216;99:99:99&#8242; and the new ANSI TIME type. The integer-based one can be used for comparisons but not for time calculations. The new one can be used for everything. This is how you can convert to the new type if [...]]]></description>
			<content:encoded><![CDATA[<p>Teradata has two types of time types, the old one that is simply an integer format &#8216;99:99:99&#8242; and the new ANSI TIME type. The integer-based one can be used for comparisons but not for time calculations. The new one can be used for everything. This is how you can convert to the new type if you have the old type. Assume you have a table called T with an integer-based column UPDATE_TM like:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> T
<span style="color: #66cc66;">&#40;</span>
   UPDATE_DT DATE FORMAT <span style="color: #ff0000;">'YYYY-MM-DD'</span><span style="color: #66cc66;">,</span>
   UPDATE_TM INTEGER FORMAT <span style="color: #ff0000;">'99:99:99'</span> <span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>To convert the integer time UPDATE_TM to a TIME:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span>
  time <span style="color: #ff0000;">'00:00:00'</span>
  <span style="color: #66cc66;">+</span> cast<span style="color: #66cc66;">&#40;</span>update_tm <span style="color: #66cc66;">/</span> 10000 <span style="color: #993333; font-weight: bold;">AS</span> interval hour<span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">+</span> cast<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>update_tm <span style="color: #66cc66;">/</span> 100<span style="color: #66cc66;">&#41;</span> mod 100 <span style="color: #993333; font-weight: bold;">AS</span> interval minute<span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">+</span> cast<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>update_tm mod 100<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> interval second<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">FROM</span> T</pre></div></div>

<p>To convert the UPDATE_DT, UPDATE_TM to a timestamp(0):</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> 
  cast<span style="color: #66cc66;">&#40;</span>update_dt <span style="color: #993333; font-weight: bold;">AS</span> timestamp<span style="color: #66cc66;">&#40;</span>0<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">+</span> cast<span style="color: #66cc66;">&#40;</span>update_tm <span style="color: #66cc66;">/</span> 10000 <span style="color: #993333; font-weight: bold;">AS</span> interval hour<span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">+</span> cast<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>update_tm <span style="color: #66cc66;">/</span> 100<span style="color: #66cc66;">&#41;</span> mod 100 <span style="color: #993333; font-weight: bold;">AS</span> interval minute<span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">+</span> cast<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>update_tm mod 100<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> interval second<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">FROM</span> T</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.teradatatips.info/?feed=rss2&amp;p=33</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TeradataTip3 &#8211; Combine date and time into a timestamp</title>
		<link>http://www.teradatatips.info/?p=30</link>
		<comments>http://www.teradatatips.info/?p=30#comments</comments>
		<pubDate>Thu, 28 May 2009 20:35:21 +0000</pubDate>
		<dc:creator>carlos.ibarra</dc:creator>
				<category><![CDATA[TeradataTipInfo]]></category>
		<category><![CDATA[TeradataTip]]></category>

		<guid isPermaLink="false">http://www.teradatatips.info/?p=30</guid>
		<description><![CDATA[
CREATE TABLE T&#40; dt date, tm time&#40;0&#41;&#41;;
&#160;
INSERT INTO T VALUES &#40;date '2009-05-28', time '14:53:45'&#41;;
&#160;
SELECT dt, tm,
    cast&#40;  dt AS timestamp&#40;0&#41;&#41; +
            &#40;tm - time '00:00:00' hour TO second&#41; ts
 FROM T;

        dt  [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> T<span style="color: #66cc66;">&#40;</span> dt date<span style="color: #66cc66;">,</span> tm time<span style="color: #66cc66;">&#40;</span>0<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #993333; font-weight: bold;">INSERT</span> <span style="color: #993333; font-weight: bold;">INTO</span> T <span style="color: #993333; font-weight: bold;">VALUES</span> <span style="color: #66cc66;">&#40;</span>date <span style="color: #ff0000;">'2009-05-28'</span><span style="color: #66cc66;">,</span> time <span style="color: #ff0000;">'14:53:45'</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #993333; font-weight: bold;">SELECT</span> dt<span style="color: #66cc66;">,</span> tm<span style="color: #66cc66;">,</span>
    cast<span style="color: #66cc66;">&#40;</span>  dt <span style="color: #993333; font-weight: bold;">AS</span> timestamp<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">+</span>
            <span style="color: #66cc66;">&#40;</span>tm <span style="color: #66cc66;">-</span> time <span style="color: #ff0000;">'00:00:00'</span> hour <span style="color: #993333; font-weight: bold;">TO</span> second<span style="color: #66cc66;">&#41;</span> ts
 <span style="color: #993333; font-weight: bold;">FROM</span> T;</pre></div></div>

<pre>        dt        tm                   ts
----------  --------  -------------------
2009/05/28  14:53:45  2009-05-28 14:53:45</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.teradatatips.info/?feed=rss2&amp;p=30</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TeradataTip2 &#8211; How much space are my tables using?</title>
		<link>http://www.teradatatips.info/?p=16</link>
		<comments>http://www.teradatatips.info/?p=16#comments</comments>
		<pubDate>Wed, 27 May 2009 13:35:11 +0000</pubDate>
		<dc:creator>carlos.ibarra</dc:creator>
				<category><![CDATA[TeradataTipInfo]]></category>
		<category><![CDATA[TeradataTip]]></category>

		<guid isPermaLink="false">http://www.teradatatips.info/?p=16</guid>
		<description><![CDATA[Use this to find out how much perm space the tables in a specific database are using in megabytes:

SELECT tablename,sum&#40;currentperm&#41;/1024/1024 MB
FROM dbc.allspace
WHERE databasename='your_database_name'
GROUP BY 1
ORDER BY 2 DESC;

]]></description>
			<content:encoded><![CDATA[<p>Use this to find out how much perm space the tables in a specific database are using in megabytes:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> tablename<span style="color: #66cc66;">,</span>sum<span style="color: #66cc66;">&#40;</span>currentperm<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">/</span>1024<span style="color: #66cc66;">/</span>1024 MB
<span style="color: #993333; font-weight: bold;">FROM</span> dbc<span style="color: #66cc66;">.</span>allspace
<span style="color: #993333; font-weight: bold;">WHERE</span> databasename<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'your_database_name'</span>
<span style="color: #993333; font-weight: bold;">GROUP</span> <span style="color: #993333; font-weight: bold;">BY</span> 1
<span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> 2 <span style="color: #993333; font-weight: bold;">DESC</span>;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.teradatatips.info/?feed=rss2&amp;p=16</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TeradataTip1 &#8211; Casting decimal(n) to varchar without extra characters</title>
		<link>http://www.teradatatips.info/?p=4</link>
		<comments>http://www.teradatatips.info/?p=4#comments</comments>
		<pubDate>Tue, 26 May 2009 13:34:18 +0000</pubDate>
		<dc:creator>carlos.ibarra</dc:creator>
				<category><![CDATA[TeradataTipInfo]]></category>
		<category><![CDATA[TeradataTip]]></category>

		<guid isPermaLink="false">http://www.teradatatips.info/?p=4</guid>
		<description><![CDATA[To convert a decimal(n) value to a simple string containing only digits, use this:

SELECT
  cast&#40; cast&#40; d AS format 'Z(I)' &#41; AS varchar&#40;30&#41; &#41;
FROM T;

Why do you need the double cast? Well, if you try to convert from a column that has a decimal(n) to a numeric string and you simply cast to a [...]]]></description>
			<content:encoded><![CDATA[<p>To convert a decimal(n) value to a simple string containing only digits, use this:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span>
  cast<span style="color: #66cc66;">&#40;</span> cast<span style="color: #66cc66;">&#40;</span> d <span style="color: #993333; font-weight: bold;">AS</span> format <span style="color: #ff0000;">'Z(I)'</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> varchar<span style="color: #66cc66;">&#40;</span>30<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">FROM</span> T;</pre></div></div>

<p>Why do you need the double cast? Well, if you try to convert from a column that has a decimal(n) to a numeric string and you simply cast to a varchar, Teradata will add a decimal point at the end of your string.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> T<span style="color: #66cc66;">&#40;</span>d decimal<span style="color: #66cc66;">&#40;</span>18<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #993333; font-weight: bold;">INSERT</span> <span style="color: #993333; font-weight: bold;">INTO</span> T <span style="color: #993333; font-weight: bold;">VALUES</span><span style="color: #66cc66;">&#40;</span>42<span style="color: #66cc66;">&#41;</span>;
<span style="color: #993333; font-weight: bold;">INSERT</span> <span style="color: #993333; font-weight: bold;">INTO</span> T <span style="color: #993333; font-weight: bold;">VALUES</span><span style="color: #66cc66;">&#40;</span>3<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #ff0000;">'['</span><span style="color: #66cc66;">||</span>cast<span style="color: #66cc66;">&#40;</span>d <span style="color: #993333; font-weight: bold;">AS</span> varchar<span style="color: #66cc66;">&#40;</span>20<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: #993333; font-weight: bold;">FROM</span> T;</pre></div></div>

<pre>(('['||d)||']')
----------------------
[3.]
[42.]</pre>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span>
  <span style="color: #ff0000;">'['</span><span style="color: #66cc66;">||</span>cast<span style="color: #66cc66;">&#40;</span>cast<span style="color: #66cc66;">&#40;</span>d <span style="color: #993333; font-weight: bold;">AS</span> format <span style="color: #ff0000;">'Z(I)'</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> varchar<span style="color: #66cc66;">&#40;</span>20<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: #993333; font-weight: bold;">FROM</span> T;</pre></div></div>

<pre>(('['||d)||']')
----------------------
[3]
[42]</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.teradatatips.info/?feed=rss2&amp;p=4</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
