Focal Point
Master file and Subquery

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7227055706

July 28, 2011, 08:00 AM
atturhari
Master file and Subquery
Hello,

Is it possible to pass the subquery as a filter(WHERE clause) in the master file?

Thankyou


WF 7.7.02 on Windows 7
Teradata
HTML,PDF,EXCEL,AHTML
July 28, 2011, 11:05 AM
GamP
The only thing you can do in the master file is add DBA information that will perform the filtering for you. Mind you, this is a fixed filter and can't be made variable. It can be put in the master file for either certain named users, as well as for all users.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
July 28, 2011, 11:49 AM
Dan Satchell
The FILTER FILE and related SET FILTER commands may offer a possible solution for you.


WebFOCUS 7.7.05
July 28, 2011, 05:32 PM
Waz
The other option is to use a cross reference file.

You would have to populate the cross reference file, and it would have to be a FOCUS file.

In the main Master it would effectively be a multi segment file.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

August 04, 2011, 07:46 AM
atturhari
Thanks everyone for replying.

I am wondering if the correlated subquery is supported in WF or is there any silimar stuff in WF.
My subquery has no filters and it would be bringing back millions of rows, when queried seperately.

In that case, the SET FILTER or cross reference file would NOT be an effective solution.

Can anyone suggest me how to approach this (or sql pass-thru is the only solution)


WF 7.7.02 on Windows 7
Teradata
HTML,PDF,EXCEL,AHTML