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!
 
 

 


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

Mapping : How to correct the data values without spaces?
Explanation :

In this mapping we will understand how to remove the spaces in the data .It is very important to see the data values must be aligned equally their should not be any spaces .

To trim this spaces , we will use LTRIM() and RTRIM() functions.

When you take a source as Flatfile and it consists one of the feild as NAME .The following below table is the source table data::

NAME
         Ravi
Ramesh
    Swathi
    Jack

In the above table you can clearly see the Name values are not aligned properly and to align the data into equally .We have to use TRIM concept .Now in our mapping we are loading above data into target table .But in target table it appears like as shown below

    NAME
    Ravi
    Ramesh
    Swathi
    Jack

The above can be acheived by using the LTRIM( ) function in expression editor.This is declared in Expression transformation output port.

The function appears like this LTRIM(NAME)

 
Download the mapping and execute it in your lab .
Download :
XML FILE    
m_trim_spaces    
     
 
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