![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 12 Apr 2006 @ 10:33:52 GMT
Hello there, Does anyone have an alternative way of creating row numbers using Teradata SQL other than using csum(1,1) as below?
INS DB.Test SEL
Name,ProductNumber,csum(1,1) as RowNumber
FROM ABC.Atable
Cheers, Chaim
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 30 Jun 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||