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

Which parameter specified in the default storage clause of create tablespace cannot be altered after creating the table space?

0 Answers  


what is the difference between MOLAP and ROLAP?

3 Answers  


What is Grain & Granularity in Data Warehouse.

2 Answers   TCS, TVS,


How do you setup Lo-cockpit?

0 Answers  


What is the difference between agglomerative and divisive hierarchical clustering?

0 Answers  






What is the goal of optimizer?

0 Answers  


What is a data profile?

0 Answers  


How would you write a simple stored procedure in tsql which takes a movie_id and returns all the directors associated with it?

0 Answers  


How to provide security in frame work manager for a query subject?

0 Answers  


How to use the tool Ontobulider

1 Answers  


What is core dimension?

0 Answers  


What is the differences between star and snowflake schemas?

0 Answers  


Categories