Archives of the TeradataForum
Message Posted: Tue, 03 Jun 2008 @ 13:05:09 GMT
You probably receiving this error because you are doing the WITH MAX in an INSERT. It builds an output "row" that is unlike the other rows of the select with different "columns." So where in the table would it be stored? It makes no sense to do this. WITH is a report writing tool, not for building rows. Eliminate the WITH and your insert will probably work.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|