Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comaprint in Informatica, using the LIKE Keyword

Status
Not open for further replies.

srjosyula

Technical User
Apr 27, 2006
22
US
Hi
I need to compare a field in my expression trasformation
say in SQL i can use: like '%week'
Can I use something like this in informatica?
in the expr transformation:
IIF(format like '%week', weekly, monthly)
please help
need urgently
thanks in advance
 
There was a typo sorry it is supposd to be COMAPRISION IN EXPRESSION.....
 
You mean comparison?

Try this:

IIF(RTRIM(SUBSTR(format,-4,4)),'week',' weekly','monthly')

Ties Blom

 
Thank you very much for the timely help...Will try and let you know
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top