I have table name in that I have
Rajesh
Reshika
Priya
I want the result Like only Starting with R
Rajesh
Reshika

Can someone help me to get these results and How?

Answers were Sorted based on User's Feedback



I have table name in that I have Rajesh Reshika Priya I want the result Like only Starting with..

Answer / vamshi ch

U can do by using the expression.
Use variable var1.
Var1= IIF(SUBSTR( NAME_FIELD, 1, 1 )=R,1,0)

In Filter use the condition to filter var1=1.
Only the names starts with R will come as output.

Another way:
In source qaulifier write a query to filter the records
which starts with name 'R'.

Select * from Table where name like 'R%'

Is This Answer Correct ?    9 Yes 1 No

I have table name in that I have Rajesh Reshika Priya I want the result Like only Starting with..

Answer / babu

Hi,
IF U R SOURCE IS FLAT FILE,
U CAN WRITE A FILTER CONDITION IS SUBSTR(COL1,1,1)='R'
THEN U GET ONLY COL1 STARTING VALUE IS R.

ELSE U R SOURCE IS RELATIONAL
WRITE SQL OVRRIDE IN SQ T/R
AS SELECT * FROM TAB_NAME WHERE COL1 LIKE 'R%'
THEN U GET ONLY COL1 STARTING WITH R DATA.

IF ANY THING IS WRONG CORRECT ME.

THANKS,
BABU

Is This Answer Correct ?    2 Yes 0 No

I have table name in that I have Rajesh Reshika Priya I want the result Like only Starting with..

Answer / guest

SELECT * FROM TABLE NAME LIKE'R%'
OR U CAN USE SUBSTRING
SUBSTRING(RAJESH,1,1)

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Informatica Interview Questions

what is incremental loading ?

12 Answers   CTS, IBM, Oracle, TCS,


How you prepared reports for OLAP?

0 Answers  


how can we check whether a particular cache is static or dynamic?

1 Answers   InfoCepts, TCS,


What is the query to find nth highest salary? What is the use of cursors?

8 Answers   Keane India Ltd,


When the informatica server marks that a batch is failed?

2 Answers  






How You Pull the records on daily basis into your ETL Server.

2 Answers   TCS,


to improve the performance of aggregator we use sorted input option and use sorter t/r befor aggregator. But here we are increasing one more cache in our mapping i.e; sorter. So how can u convince that you are increasing the performance.?

3 Answers   IBM,


I have source like this year account month amount ----- --------- ------ -------- 1999 salaries jan 9600 1999 salaries feb 2000 1999 salaries mar 2500 2001 benfits jan 3000 2001 benfits feb 3500 2001 benfits mar 4000 -->i need target like this year account month1 month2 month3 ----- --------- -------- -------- -------- 1999 salaries 9600 2000 2500 2001 benfits 3000 3500 4000

4 Answers   HCL,


In what scenario we use to improve session performance by pushdown optimization?can any one give example?

2 Answers  


What is a filter transformation and why it is an active one?

0 Answers  


How to run a session, which contains mapplet?

1 Answers  


what is dimension table?

17 Answers  


Categories