Gurus,
We are converting existing Oracle applications to Teradata. We have some code that in Oracle SQL is using a window with the "FIRST_VALUE" function. This takes the result set of the window and returns the first value of the result set (always used in conjunction with an ORDER BY).
Is there anyway to do this in Teradata? I thought about trying to us the "RANK" function somehow, but can't put it together. Any ideas?
Thanks,
gsdcrazy
We are converting existing Oracle applications to Teradata. We have some code that in Oracle SQL is using a window with the "FIRST_VALUE" function. This takes the result set of the window and returns the first value of the result set (always used in conjunction with an ORDER BY).
Is there anyway to do this in Teradata? I thought about trying to us the "RANK" function somehow, but can't put it together. Any ideas?
Thanks,
gsdcrazy