Archives of the TeradataForum
Message Posted: Wed, 19 Nov 2003 @ 16:23:51 GMT
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
|