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

ColumnName is missing with error messages - forum topic by lidb842

$
0
0

ColumnName is missing with error messages
In Teradata Is there any way to get column name as well with the error message. For example I have a table
Create test(
column1 int,
column2 timestamp(0),
column3 timestamp(0),
column4 timestamp(0),
column5 char(20)); and i try to populate this table with another table which contains some datatype mismatch
insert into test
SELECT col_accno,col2_dt,col3_start_dt,col4_end_dt,col5_name
 FROM"STG_OUT".test_data
When select tries to insert a wrong row which contains mismatch, it does not return me the COLUMNNAME.
For Example, if time is coming wrong in some field, the error message does not mention column name, it just return
6760 : invalid timestamp
but which column is having problem remains unknown.
is there is any mathod to know the columnName ?

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>