Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 03 Oct 2006 @ 21:21:05 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Teradata SQL Assistant, Export Rows
From:   Barner Eric

You could use an OLAP function like Row_number() OVER() as RowNUM to number each row.

Then a QUALIFY statement like

     QUALIFY ROWNUM <=2000;

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023