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 columns go to the fact table and which columns go the dimension table?

0 Answers  


What are algorithms provided by Microsoft in SQL Server?

0 Answers  


three ways sql*loader could load data, what are those three types?

1 Answers  


What is loop in data warehousing?

0 Answers  


What are target types on the server?

0 Answers  






What are the possible data marts in retail sales?

0 Answers  


Explain what is a cube in data warehousing concept?

0 Answers  


How can you define a transformation? What are different types of transformations in Informatica?

7 Answers   TCS,


if we increase the number of dimensions will the rows in fact table increase or decrease??

3 Answers   IBM,


What is the capacity of power cube?

2 Answers  


How can Oracle Materialized Views be used to speed up data warehouse queries?

3 Answers  


What are templates in which way it is help full?

0 Answers  


Categories