Suppose i have data like
2009/12/31
555555534
' '
Generally last 2 records are wrong format it is going to
error table but i don't want load error table if any wrong
format in Date column Pass "NULL" how can we do it fast load
Answer Posted / yogi
If those invalid records are the same everytime, then NULLIF
option in DEFINE command can be used(below). But, this would
not work, if the invalid values are different every time.
.DEFINE EMPLOYEE_NAME(CHAR(10),NULLIF='555555534'),
EMPLOYEE_ADD(CHAR(10),NULLIF=' ')
FILE=inputfile;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are normalization, first normal form, second normal form and third normal form?
What is difference between user and database in teradata?
What exactly do you know about catching in teradata?
What is the difference between fastload and multiload? Which one is faster?
Explain the term 'foreign key' related to relational database management system?
What is basic teradata query language?
What is collect statistics?
what are the day to day activities of teradata DBA ?
Describe the set operators in teradata.
What is the multi-insert?
How will you solve the problem that occurs during update?
Where is teradata rdbms used?
Describe primary index in teradata?
Syntax for case when statement?
How to view every column and the columns contained in indexes in teradata?