Focal Point
adhoc SQL tool

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

February 04, 2004, 01:03 PM
<David Alexander>
adhoc SQL tool
I need to know how to set the adhoc SQL tool paramters to allow pass-through of raw sql statements.
February 11, 2004, 04:07 PM
<monte2000>
David,

in general:
----
SQL SQLORA SELECT .......;
END
------
...this returns the answer set.

WebFOCUS Ad Hoc tools do not generate SQL, they create FOCUS 4GL code which on the WF Server is converted to SQL statements when the request is sent to the SQL engine.

So, the tools don't support this, but you can enter any SQL Query to whatever DBMS you are using, using the syntax of

SQL SQLMSS
SELECT * FROM pubs.dbo.authors;
END
TABLE FILE SQLOUT
PRINT *
END


Hope this helps,

Monica

Can you give us an example of what you're trying to do?