Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
IN LIKE
 Login/Join
 
Platinum Member
posted
Is it possible to do an "IN LIKE..." or a "LIKE IN..." statement in Webfocus? I want to look up several values based on if they are like, but not exactly, my parameters.


Windows version 768
 
Posts: 215 | Registered: March 16, 2006Report This Post
Expert
posted Hide Post
only if you add a YOU KNOW to it. Razzer




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
When you say in like do you mean if it were abc345, abc999, abc666, acc777 and you wanted all with 'abc'?

If so I've used the CONTAINS select
if field contains 'abc'


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Guru
posted Hide Post
WHERE field LIKE 'mask' or
WHERE field NOT LIKE 'mask'

Masking characters are
_ (underscore) = any char in that position
% (pct sign) = any following sequence of zero or more char.

Look for 'Screening on Masked Fields'
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
Platinum Member
posted Hide Post
You are right Leah. I am trying to do that. The deal is that I've got a name as a string split into different tokens. I want the last name, so I say if token four = "SR" then give me token three. The problem is that for one name, token four is padded with blank spaces, so I have to say if token four is like "SR%" then give me token three. The CONTAINS will work for the meantime, but I'm worried about someday when token four is "SRILANKA" or something like that.


Windows version 768
 
Posts: 215 | Registered: March 16, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders