|
|
Archives of the TeradataForum
Message Posted: Tue, 03 Jun 2008 @ 13:05:09 GMT
Subj: | | Re: 3706 Error in WITH clause |
|
From: | | Michael Larkins |
SRIDHAR:
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.
Regards,
Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor
| |