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

ColumnName is missing with error messages - response (3) by msk.khurram

$
0
0

Hi,
Yes there is a method to identify the mismatch column. It might be a slow process, but always worked for me.
You can use the following statment. 
SELECT
column1 ,
--column2 ,
--column3,
--column4,
--column5
FROM  test
UNION
SELECT 
col_accno,
--col2_dt,
--col3_start_dt,
--col4_end_dt,
--col5_name
 FROM "STG_OUT".test_data
Now uncommment the column one by one and you will get the column actually causing the mismatch. 
Khurram


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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