My source table look like
ID Name Location Salary
0000001 ran tpty 1000
0000002 ram DELHI 2000
hju-hji raj hyd 1000

my target table should be
ID Name Location Salary
1 ran tpty 1000
2 ram DELHI 2000
hju-hji raj hyd 1000

Answers were Sorted based on User's Feedback



My source table look like ID Name Location Salary 0000001 ran tpty 1000 0000002 ..

Answer / sree

in exp t/r u can write ltrim(id,'0')

iam giving just an idea

Is This Answer Correct ?    12 Yes 2 No

My source table look like ID Name Location Salary 0000001 ran tpty 1000 0000002 ..

Answer / xyz

in expression t/r use replace(id,'000000','')

Is This Answer Correct ?    5 Yes 4 No

My source table look like ID Name Location Salary 0000001 ran tpty 1000 0000002 ..

Answer / rakesh

Hi,

Use trim(leading '0' from '00001') option
Please let me know if i am wrong

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Informatica Interview Questions

select count(1) from emp? what is the o/p?

5 Answers   TCS,


What are differences between Informatica 7.1 and 6.1

3 Answers  


What exactly mentioned in High level design document.can somebody explain me sequentialy.

1 Answers   IBM,


How can you differentiate between powercenter and power map?

0 Answers  


What are the joiner caches?

3 Answers   Informatica,






Differentiate between a repository server and a powerhouse?

0 Answers  


what is dimension table?

17 Answers  


How to recover the standalone session?

2 Answers  


I have in my source Records like 100,101,102 etc. I have router transformation which has groups like one group is empno=100, second group is empno>99. Now i want to know my source record 100 loads into which group?

5 Answers   Span Systems,


Slowly changing dimensions, types and where will you use them

0 Answers  


I've a denormalized table EMP(empno,ename,phone,addr1,addr2,fax,email). Now I want to insert the record into target in the format that, there will be 2 target rows for 1 source record. In target the row needs to be inserted as: ROW1: empno,ename,addr1,phone ROW2: empno,ename,addr2,fax,email And I'm not allowed to normalize transformation. How to achieve?

1 Answers   IBM,


What are the basic needs to join two sources in a source qualifier?

4 Answers  


Categories