Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Default value is not reflecting in the table for a column - forum topic by sherry_009

$
0
0

hi,
I have a SET table where one of the column is defined as
Sub_Cat VARCHAR(20) CHARACTER SET LATIN NOT CASESPECIFIC DEFAULT 'FI',
Ideally it should take default value 'FI' whenever a NULL is suplied. But we noticed there are certain cases where 'FI' is not getting reflecting eventhough NULL values are supplied. We are not sure in which load this had happened, but when I manually tried to insert into the tables now, it is working properly and taking default 'FI' whenever we supply NULLS. So can anyone helpme in understanding why it is not taking default 'FI' all the times whenever we supply NULLs. It is working differntly at differnt times.
 
Thanks in advance.
 

Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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