Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Strange error regarding data type - forum topic by dlayten

$
0
0

All,
When I use this query select CASE WHEN TOTAL_PASS = 1 THEN 1 ELSE  0 END as COMPLIANCE....It seems to work, however when I use this CASE WHEN TOTAL_PASS = 1 THEN 'Y' ELSE  'N' END as COMPLIANCE... I get this error  "Output Schema does not match data from SELECT statement". I am guessing it does not like the string datatype. Does anyone have any ideas as to what could cause this?
 
Thanks,
 
Dan

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>