Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 03 Jun 2008 @ 13:05:09 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: 3706 Error in WITH clause
From:   Michael Larkins


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.


Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020