Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



Suppose i have data like 2009/12/31 555555534 ' ' Generally last 2 records are w..

Answer / yuvaevergreen

In FLOAD, record command can be used to select records.
.RECORD 1 THRU 998;

In MLOAD, option in import command can be used to select records.
.IMPORT INFILE FILE1
FORMAT TEXT
FROM 1 THRU 998
LAYOUT FILEIN
APPLY INSERTS;

Is This Answer Correct ?    1 Yes 0 No

Suppose i have data like 2009/12/31 555555534 ' ' Generally last 2 records are w..

Answer / 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

Suppose i have data like 2009/12/31 555555534 ' ' Generally last 2 records are w..

Answer / guest

INDICATORS is a keyword related to how FastLoad
handlesnulls in the input file. It identifies columns with
nulls and uses abitmap at the beginning of each row to show
which fields containa null instead of data. When the
INDICATORS option is on,FastLoad looks at each bit to
identify the null column. TheINDICATORS option does not
work with VARTEXT

Is This Answer Correct ?    0 Yes 0 No

Suppose i have data like 2009/12/31 555555534 ' ' Generally last 2 records are w..

Answer / tdguy

IF it is always the last two records, then use RECORD
option. Assuming 1000 records are present, use the below
option to avoid the last two records
RECORD THRU 998;

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Teradata Interview Questions

What is collect State in Teradata ? what it use and how it works??

3 Answers   TCS,


What is the syntax for case when statement?

0 Answers  


What is a level of granularity of a fact table?

0 Answers  


Can you fastexport a field, which is primary key by putting equality on that key?

0 Answers  


What is difference between user and database in teradata?

0 Answers  


1. generally how many node system will be used by the client. 2. while running mload if the job is aborted/failed at any phase what we have to look after to run the job successfully? 3.i wanted to know how to write the fastload script for table creation as well as table loading in a single script?

3 Answers  


Discuss the advantages of using partitioned primary index in a query?

0 Answers  


What are the main components of teradata system?

0 Answers  


What is a sparse index?

0 Answers  


In which phase of the Active Data Warehouse evolution do you use data to determine what will happen?

2 Answers   IBM, Wipro,


what is single value and Multivalue ?

1 Answers   IBM, Wipro,


Write a single SQL to delete duplicate records from the a single table based on a column value. I need only Unique records at the end of the Query.

13 Answers  


Categories