for ex: in source 10 records are there with column sal. use
a filter transformation condition as Sal=TRUE and connect
to target. what will happen.

Answers were Sorted based on User's Feedback



for ex: in source 10 records are there with column sal. use a filter transformation condition as S..

Answer / krishna

I checked result.

Case 1: when you use filter condition sal=true

nothing will be moved to target table. session succeeded
but no data in target table.

Case 2: when you use only TRUE as filter condition.

all 10 records from source passes through filter to target
table .(in target table also we will get 10 records)

Is This Answer Correct ?    31 Yes 0 No

for ex: in source 10 records are there with column sal. use a filter transformation condition as S..

Answer / pushpa

by default filter condition has the TRUE that means don't
worry whether the incoming data numeric or string.all incoming
data passed to the next transformation or target.
if we assign a condition manually sal=True.session is executed
successfully but even single record is not loaded into the
target.

Is This Answer Correct ?    19 Yes 0 No

for ex: in source 10 records are there with column sal. use a filter transformation condition as S..

Answer / srini

Answers 1 and 4 right. Since the session will be executed
successfully but no rows will be loaded into the target.

Is This Answer Correct ?    15 Yes 0 No

for ex: in source 10 records are there with column sal. use a filter transformation condition as S..

Answer / lokendra

if 'salary= true' ,no records will come to target.

if only 'true' it will pass all the 10 records.

Is This Answer Correct ?    8 Yes 0 No

for ex: in source 10 records are there with column sal. use a filter transformation condition as S..

Answer / arvind s

Sorry guys, Answer 3 is completely wrong.

TRUE is not identified as a string by informatica, its
represented as a bit, just like a high or low, (1 or 0)
almost equivalent to a boolean.

So we can equate sal=TRUE but sal='TRUE' will result in
invalid mapping as said in answer3.

Thanks,
Arvind S

Is This Answer Correct ?    6 Yes 0 No

for ex: in source 10 records are there with column sal. use a filter transformation condition as S..

Answer / pradeepa

Hi,

If the comparing column is a varchar and if this true is
given in single quotes it will validate ,but here salary
for sure it must be a number and when we say salary=true it
will trow error,that expression wont be validated..

obviously mapping will get invalidated..so we cant evn run
the ,mapping.

Is This Answer Correct ?    2 Yes 0 No

for ex: in source 10 records are there with column sal. use a filter transformation condition as S..

Answer / venkat

hi guys ans 3 totally wrong
see this,
1)suppose u given condition like sal=true ,the session will
successfully execute but no data load in to target.
2)suppose u given condition like sal='true' it's not
validated b'coz in filter true/false like 1/0.
3)suppose u given condition like onlt true ,the session will
successfully execute and all the data also loaded in to target.

Is This Answer Correct ?    1 Yes 0 No

for ex: in source 10 records are there with column sal. use a filter transformation condition as S..

Answer / shiva

nothing will happen when we use filter option it just check
the source record where all record are salary records or nor

Is This Answer Correct ?    2 Yes 2 No

for ex: in source 10 records are there with column sal. use a filter transformation condition as S..

Answer / mack

Answer 3 is correct. Whenever you trying to validate your
expression ,it will give you an error.

Is This Answer Correct ?    2 Yes 4 No

for ex: in source 10 records are there with column sal. use a filter transformation condition as S..

Answer / amit

it gives expression error because we used sal=true
expresssion insted of sal='any numeric value i.e. we have
to define numeric value in the expression

Is This Answer Correct ?    5 Yes 10 No

Post New Answer

More Informatica Interview Questions

what is a transforamation?

5 Answers  


How do we call shell scripts from informatica?

0 Answers  


why do we go for update strategy tr in SCD rather using the session properties?

3 Answers   IBM,


If we have a two tables A & B A contain 10 records,B contain 20 records,what w'll b the o/p if we perform normal join,Master outer join,Detail outer join and Full Outer join how?

1 Answers   TCS,


What does command task mean?

0 Answers  






i have two coloumn emp_no sal 1 3000 2 3000 3 3000 4 4000 5 5000 6 2700 7 4500 i just need output by removing duplicate.my answer should be emp_no sal 1 3000 2 4000 3 5000 and so on.please tel me the transformation to use and if variable is used in expression then how can i give variable expression

3 Answers  


What is difference between a gateway node and worker node?

0 Answers  


comonly how meny mappings r there in Banking projects?

1 Answers  


1,If there are 3 workflows are running and if 1st workflow fails then how could we start 2nd workflow or if 2nd workflow fails how could we start 3rd workflow?

4 Answers   CompuSoft, EDS, TCS,


What are the performance considerations when working with aggregator transformation?

0 Answers  


Which transformation is needed while using the Cobol sources as source definitions?

0 Answers   Informatica,


What is the status code?

1 Answers  


Categories