![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 09 Dec 2009 @ 16:22:59 GMT
Hi I am trying to populate a column with row numbers. The oracle syntax we used was:
UPDATE database.table
SET row_num = ROWNUM
I think the syntax we need for Teradata is something like:
UPDATE database.table
SET row_num = ROW_NUMBER()
I've tried variations on this syntax and searched web to no avail. Any help would be gratefully received Regards Paul Graham
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||