Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 19 Nov 2003 @ 16:23:51 GMT


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


Subj:   Re: 2616 error with UNION
 
From:   David Clough

..... and if the columns from the separate parts of the UNION are a different datatype you get a 3654 (corresponding select list expressions are incompatible), as I've just found out from the UNION query that I happen to be writing. Probably a bit more obvious this one, but nevertheless true.

In this case as well as the 2616 error, CASTing the result is indeed the solution.

Dave Clough
Database Designer
Database Design Group



     
  <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: 15 Jun 2023