﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Analytical Applications / Teradata   / equivalent of rownum in td / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Teradata Forums</description><link>http://www.teradata.com/teradataforum/</link><webMaster>info@teradata.com</webMaster><lastBuildDate>Sat, 06 Sep 2008 20:35:51 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: equivalent of rownum in td</title><link>http://www.teradata.com/teradataforum/Topic11385-5-1.aspx</link><description>select top n columnlist from tablename;where n is the number of rows you want.not sure how, but it works.</description><pubDate>Fri, 25 Jul 2008 12:51:27 GMT</pubDate><dc:creator>mapsiddiqui</dc:creator></item><item><title>RE: equivalent of rownum in td</title><link>http://www.teradata.com/teradataforum/Topic11385-5-1.aspx</link><description>Hi Jack,it's ROW_NUMBER() OVER (ORDER BY ...)Btw, Oracle also supports that RW_NUMBER.Dieter</description><pubDate>Thu, 08 May 2008 10:51:06 GMT</pubDate><dc:creator>dnoeth</dc:creator></item><item><title>RE: equivalent of rownum in td</title><link>http://www.teradata.com/teradataforum/Topic11385-5-1.aspx</link><description>hi jack,I believe you want to use rownum to limit the number of rows retrieved. as far as i know, there is no system column in teradata to do this, but one can generate a column like a seq_num to retrieve specific interval of rows. if the order is not required, you can use SAMPLE to return a specific number of rows, though randomly.sel * from   this wil return 10 rows selected randomly.thx,</description><pubDate>Thu, 08 May 2008 10:13:16 GMT</pubDate><dc:creator>SN</dc:creator></item><item><title>equivalent of rownum in td</title><link>http://www.teradata.com/teradataforum/Topic11385-5-1.aspx</link><description>Can you tell me what is equivallentof rownum in teradata in oracle I can useselect rownum,ename from empWhat is its equivalent query in teradata?</description><pubDate>Thu, 08 May 2008 09:05:07 GMT</pubDate><dc:creator>JACKSON</dc:creator></item></channel></rss>