I HAVE A FLAT FILE DO THE NULL CHEK AND PRIMARI KEY CHEK
AND DATE VALIDITAION LOAD TO TARGET TABLE



I HAVE A FLAT FILE DO THE NULL CHEK AND PRIMARI KEY CHEK AND DATE VALIDITAION LOAD TO TARGET TABLE..

Answer / itsranjan

code should be like this:
Check whether the pk is present, if present, its a duplicate record.
then check for the null values
then check for invalid date columns

iif(not isnull(pk),error_code_dup_rec,
iif(isnull(col1)
or (is null(col2),null_value_
present,
or is null(date),invalid_date,valid_record))

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Data Warehouse General Interview Questions

Explain clearly how to explain any (sales) project in interview. Actually feom where report developer work starts?pls reply as soon as possible?

0 Answers  


Explain bus schema?

0 Answers  


Explain what are the possible data marts in retail sales?

0 Answers  


Code the tables statement for a single-level (most common) frequency?

0 Answers  


What is difference between a connected look up and unconnected look up?

1 Answers  


What is is the guidelines to build universe with better performance? R performance tuning issues of universes?

0 Answers  


What is Grain & Granularity in Data Warehouse.

2 Answers   TCS, TVS,


How to define a cube??

0 Answers  


Explain what is the main difference between inmon and kimball philosophies of data warehousing?

0 Answers  


Can you brief about the Data warehouse project you worked on?

0 Answers   Deloitte, TCS,


How do you create surrogate key using ab initio?

0 Answers  


What is the main difference between schema in rdbms and schemas in datawarehouse?

0 Answers  


Categories