Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Hyperstage Pass Thru Queries?
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Hyperstage Pass Thru Queries?
 Login/Join
 
Member
posted
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
 
Posts: 4 | Registered: June 08, 2009Reply With QuoteReport This Post
Platinum Member
posted Hide Post
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.
 
Posts: 217 | Location: New York | Registered: July 27, 2004Reply With QuoteReport This Post
Platinum Member
posted Hide Post
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.

Martin.


WebFocus 8203M, iWay DataMigrator, Windows, DB2 Windows V10.5, MS SQL Server, Azure SQL, Hyperstage, ReportCaster
 
Posts: 154 | Registered: March 29, 2013Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Hyperstage Pass Thru Queries?

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.