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.


Focal Point    Focal Point Forums  Hop To Forum Categories  Rules, Regulations, and FAQs    How to Create a Program Using Multiple ORs Statements

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How to Create a Program Using Multiple ORs Statements
 Login/Join
 
Member
posted
Hi All,
I have a question regarding using multiple ORs statements. Below is my SQL query

DECLARE @INDX AS CHAR(4)
SELECT @INDX = '7P'

SELECT COUNT(DISTINCT FIELD) FROM TABLE
WHERE INDEX01 = @INDX OR INDEX02 = @INDX OR INDEX03 = @INDX OR INDEX04 = @INDX OR INDEX05 = @INDX OR INDEX06 = @INDX OR INDEX07 = @INDX
OR INDEX08 = @INDX OR INDEX09 = @INDX OR INDEX10 = @INDX OR INDEX11 = @INDX OR INDEX12 = @INDX OR INDEX13 = @INDX OR INDEX14 = @INDX
OR INDEX15 = @INDX OR INDEX16 = @INDX OR INDEX17 = @INDX OR INDEX18 = @INDX OR INDEX19 = @INDX OR INDEX20 = @INDX

I don't know how to create a program in WebFocus when using multiple ORs.

Thanks in Advance

Sincerely
Harry
 
Posts: 1 | Registered: March 31, 2020Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  Rules, Regulations, and FAQs    How to Create a Program Using Multiple ORs Statements

Copyright © 1996-2020 Information Builders