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.
FROM INST_ASET, INST_ASET_DESC, INST_ASET_TYP WHERE ( INST_ASET_DESC.INST_ASET_UNIQ_ID(+)=INST_ASET.INST_ASET_UNIQ_ID ) AND ( INST_ASET.INST_ASET_TYP_UNIQ_ID=INST_ASET_TYP.INST_ASET_TYP_UNIQ_ID(+) ) AND ( ( (INST_ASET.SYS_ACTV_DTTM <= @prompt['Enter Asset As Of Date','D',,Mono,Free,Persistent,,User:0) and INST_ASET.SYS_REPL_DTTM > @prompt('Enter Asset As Of Date','D',,Mono,Free,Persistent,,User:0)) ) AND INST_ASET_TYP.INST_ASET_TYP_GRP_ID = '096' AND INST_ASET.ASET_ACTV_IND = 'Y' ) GROUP BY INST_ASET.ASET_ACTV_IND, INST_ASET.ASET_ID, INST_ASET_DESC.ASET_METAVANTE_MGT_CL_CDE_VAL, INST_ASET_TYP.INST_ASET_TYP_GRP_ID ;
TABLE FILE SQLOUT . . .
[QUOTE]
My question is how will I skip over the large block of WHERE code to run a single line WHERE statement.
FROM INST_ASET, INST_ASET_DESC, INST_ASET_TYP
-GOTO NEXT
WHERE ( INST_ASET_DESC.INST_ASET_UNIQ_ID(+)=INST_ASET.INST_ASET_UNIQ_ID ) AND ( INST_ASET.INST_ASET_TYP_UNIQ_ID=INST_ASET_TYP.INST_ASET_TYP_UNIQ_ID(+) ) AND ( ( (INST_ASET.SYS_ACTV_DTTM <= @prompt['Enter Asset As Of Date','D',,Mono,Free,Persistent,,User:0) and INST_ASET.SYS_REPL_DTTM > @prompt('Enter Asset As Of Date','D',,Mono,Free,Persistent,,User:0)) ) AND INST_ASET_TYP.INST_ASET_TYP_GRP_ID = '096' AND INST_ASET.ASET_ACTV_IND = 'Y' ) -NEXT WHERE INST_ASET.SYS_ACTV_DTTM BETWEEN '20110101' AND '20110102' GROUP BY INST_ASET.ASET_ACTV_IND, INST_ASET.ASET_ID, INST_ASET_DESC.ASET_METAVANTE_MGT_CL_CDE_VAL, INST_ASET_TYP.INST_ASET_TYP_GRP_ID ;
TABLE FILE SQLOUT . . .
The question is:
does a -GOTO BLAH -BLAH
do the trick, or is there some other syntax to be used in SQL queries?
Thanks! This message has been edited. Last edited by: Kerry,