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
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
My source is flat file which contain only one column with data type varchar.now i want to send string data types into one target and if any numbers and special characters are there that should be send it into another target.so how do you design a mapping for this?
what is metadata?
What will be the approach?
Whats there in global repository
I have one source table and three target tables. When the session runs for the first time involving the mapping,i want that the loading should take place in 1st Target table only. The 2nd time the same session runs the loading should take place in 2nd Target only only and similarly when the session runs for the 3rd time loading should take place in Third only. And again when the session runs for the 4th time loading should take place in 1st Target table.
In Which scenario did u used Incremental loading?
What is best approach to load 100 different source files (Different structure) to differet target tables ?
how will u get 1 and 3rd and 5th records in table what is the query in oracle please help me
Which tool yoU use to create and manage sessions and batches and to monitor and stop the informaticaserver?
sample mappings for scd1,scd2 and scd3
performance tuning of Informatica
Explain about Recovering sessions?