![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 03 Oct 2006 @ 21:21:05 GMT
You could use an OLAP function like Row_number() OVER() as RowNUM to number each row. Then a QUALIFY statement like
QUALIFY ROWNUM <=2000;
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 30 Jun 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||