Home | Contact Us | Sitemap
DWHlabs provides Data Warehouse education services.This web portal is very useful to the Database professionals,
Data Warehouse professionals, UNIX professionals etc.,
  About Us Advertise Support us Tell your Fren Testimonial Contact Us  
 
 
Please help us continue development of this website and it's services!
 

 3

 

 

 


 
DWHlabs- ETL TOOL
Sponsered Links
 
 
MAPPINGS PAGE - REAL TIME MAPPINGS - VALIDATING MAPPINGS

Mapping : How to filter the improper Date format data?
Explanation :

In this mapping we will understand how to filter the improper Date format data .

To check the Date format , we use IS_DATE() function.

When you take a source as Flatfile , their are chances to see the invalid DATE format .Like as shown in the below source table.

DATE
20-Apr
11-Mar-2008
12-Feb-2008
Feb-2008

If you look at 1 st and 4th record of above table .It clearly shows that the DATE value format is not correct.In the 1st record year is missing and in the 4th date is missing.In this case it is necessary to see this invalid data to be removed before it loaded into the target .Like as shown in below target table:

  • DATE
    11-Mar-2008
    12-Feb-2008
    The above can be acheived by using the IS_DATE( ) function .This is declared in Filter Transformation condition.
  • The function appears like this IIF(IS_DATE(DATE, 'DD-MON-YY'),TRUE,FALSE)
 
Download the mapping and execute it in your lab .
Download :
XML FILE    

m_validation_date

   
     
 
DWH 3Colors
CERTIFICATION GUIDE
DATA DICTIONARY
ALL ARTICLES
   
DWH CONCEPTS

DWH Architecture
Types of Schema
Normalization

VS LINKS

OLAP Vs OLTP
Dimension Table Vs Fact Table
Datamart Vs Data Warehouse
Data Mining Vs Web Mining


SHARE KNOWLEDGE

Now viewers can share their information with DWHlabs , please
Click Here.
Please send your feedback
Click Here .
Tell you friend about DWHlabs
Click Here .


Data Warehouse Lab

- ETL TOOL
INFORMATICA
OTHER TOOLS

- REPORTING TOOL

BUSINESS OBJECTS
OTHER TOOLS

Database Lab

- ORACLE
SQL
PL/SQL

- DB2
OTHER TOOLS

Unix Lab

Project Lab

DWH Schools

Books Store



 
  About Us Advertise Support us Tell your Fren Testimonial Contact Us  
© 2008 DWHlabs
Privacy Policy | Terms & Conditions