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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is a view as it relates to system modeling?

572


Explain normalization?

563


What is metadata in context of a datawarehouse?

549


What is a functional dependency f said to be minimal?

548


What is a general purpose scheduling tool?

557






What is the difference between Datawarehouse and OLAP?

534


Compare cold fusion with other programming languages?

559


How to create different types of templates?

516


What are the different types of fact tables used in data warehousing?

556


Can we start and stop single session in concurent bstch?

530


Explain piconet?

552


What are the steps to build the datawarehouse?

583


What is factless fact tables?

640


Explain what are the tasks that loadmanger process will do?

483


Which technology should be used for interactive data querying across multiple dimensions for a decision making for a dw?

590