|
|
Archives of the TeradataForum
Message Posted: Wed, 14 Apr 1999 @ 14:57:02 GMT
Subj: | | Re: Numeric functions in Teradata |
|
From: | | Eric J. Kohut |
Not that I know of.
The current best way to do this, assuming only inserts, is to assign a unique number to each row for a batch Of inserts. Load this data
with it's batch unique id into a table. Then place the max of the previously loaded data into a 1 row (or 1 row / table), 1 column table
with a Column named max. Then execute a product join of the newly loaded data with the appropriate max column from the table of max
columns. This will run quickly and efficiently.
Thanks,
Eric
| |