|
Archives of the TeradataForumMessage Posted: Mon, 28 Mar 2011 @ 16:43:14 GMT
Hi I can not get what you required in the output. But I thought as you are requiring the topic of the next record. Please find the SQL. I have used some short names for the fields. sel T from (sel PID P, Topic T, cast(Activet as date) a, cast(Returnt as date) b, MDIFF(a,1,PID,Activet) c from Thanks & Regards Asim K Kanungo
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||