Focal Point
[CLOSED] Hyperstage Pass Thru Queries?

This topic can be found at:

August 18, 2015, 04:09 PM
[CLOSED] Hyperstage Pass Thru Queries?
We originally were using our production iSeries database for web focus then for performance we moved the data to hyperstage.

When it was using the iSeries database I could use pass thru queries that include sub-queries and used custom IBM sql syntax such as "With" statements for subqueries.

Now that it is in hyperstage I assume I can't use any custom IBM SQL syntax. But I'm wondering if there is a way to have passthru queries that use the standard SQL subquery syntax as a way of avoiding having to create hold files and such.

Is that possible or am I limited to the webfocus syntax? If it is possible is there any documentation on the native SQL syntax for hyperstage? I think I read it was based on MYSQL and maybe they have some useful custom syntax related to sub-queries?

This message has been edited. Last edited by: <Kathryn Henning>,

WebFOCUS 7.6.8
Windows XP
excel, html and pdf
August 19, 2015, 08:11 AM
Not sure which version of Hyperstage you're on.
MySQL or Postgres.
But, you'll have to anyways be on the Postgres version by the end of 2015.
So, my advice to to download the new Hyperstage documentation which is for Postgres.
In the documentation, it shows the SQL syntax that is supported.
As most standard SQL syntax can be run, only a subset of the SQL is optimized. For SQL syntax that is not optimized, the SQL will be passed to the Postgres engine for processing and will take a lot slower.
August 24, 2015, 10:08 AM
Martin vK
You can indeed use pass thru queries like other adapters.
Use "SQL HYP ..." for Hyperstage MySQL and "SQL HYPG ..." for the new Postgres.

But as Efrem pointed out, you need to check the documentation on supported SQL syntax that is optimized for Hyperstage. I doubt that the "With" statements will be.


WebFocus 8206M, iWay DataMigrator, Windows, DB2 Windows V10.5, MS SQL Server, Azure SQL, Hyperstage, ReportCaster